Recommend this page to a friend! |
Download .zip |
Info | Example | View files (27) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
75% | Total: 172 | All time: 8,626 This week: 210 |
Version | License | PHP version | Categories | |||
entitygenerator 1.0.0 | The PHP License | 5 | PHP 5, Databases, Code Generation |
Description | Author | ||||||||
This package can generate database table access classes. |
|
Entity Generator is used to generate entity classes for partial (specific) or all tables of existing database.
NOTE : As of now tested for only MySQL database.
Step 1 : Download the zip file.
Step 2 : Upload in the www folder or htdocs folder where you will run your php projects
Step 3 : In browser open the respective project and browse for database and respective tables.
Step 4 : Generated classes will be stored in project root folder "Entity" with datbase name folder within it.
NOTE : Dont forget to change the namespace of your files
In case your bored to change the namespace in all the files then better go for 'generateEntities.php" file and change the name of variable
$directoryName = 'Entity';
Happy Coding!
Files |
File | Role | Description | ||
---|---|---|---|---|
EntityGenerator (5 directories) | ||||
autoload.php | Aux. | Auxiliary script | ||
generateEntities.php | Example | Example script | ||
getTables.php | Example | Example script | ||
index.php | Example | Example script | ||
init.php | Example | Example script | ||
README.md | Doc. | Documentation |
Files | / | EntityGenerator |
File | Role | Description | ||
---|---|---|---|---|
assets (3 directories) | ||||
Database (4 files) | ||||
Exception (2 files) | ||||
FileHandling (1 file) | ||||
Helper (1 file) |
Files | / | EntityGenerator | / | assets |
Files | / | EntityGenerator | / | assets | / | css |
File | Role | Description | ||
---|---|---|---|---|
bootstrap (4 files) | ||||
sumoselect (1 file) |
Files | / | EntityGenerator | / | assets | / | css | / | bootstrap |
File | Role | Description |
---|---|---|
bootstrap-theme.min.css | Data | Auxiliary data |
bootstrap-theme.min.css.map | Data | Auxiliary data |
bootstrap.min.css | Data | Auxiliary data |
bootstrap.min.css.map | Data | Auxiliary data |
Files | / | EntityGenerator | / | assets | / | css | / | sumoselect |
File | Role | Description |
---|---|---|
sumoselect.css | Data | Auxiliary data |
Files | / | EntityGenerator | / | assets | / | fonts |
File | Role | Description |
---|---|---|
glyphicons-halflings-regular.svg | Data | Auxiliary data |
Files | / | EntityGenerator | / | assets | / | js |
File | Role | Description | ||
---|---|---|---|---|
bootstrap (2 files) | ||||
sumoselect (3 files) | ||||
getTablesByDatabase.js | Data | Auxiliary data | ||
jquery2_1_1.js | Data | Auxiliary data |
Files | / | EntityGenerator | / | assets | / | js | / | bootstrap |
File | Role | Description |
---|---|---|
bootstrap.min.js | Data | Auxiliary data |
npm.js | Data | Auxiliary data |
Files | / | EntityGenerator | / | assets | / | js | / | sumoselect |
File | Role | Description |
---|---|---|
jquery.sumoselect.jquery.json | Data | Auxiliary data |
jquery.sumoselect.js | Data | Auxiliary data |
jquery.sumoselect.min.js | Data | Auxiliary data |
Files | / | EntityGenerator | / | Database |
File | Role | Description |
---|---|---|
DatabaseConnection.php | Class | Class source |
DatabaseConnectionInterface.php | Class | Class source |
DatabaseRepository.php | Class | Class source |
DatabaseRepositoryInterface.php | Class | Class source |
Files | / | EntityGenerator | / | Exception |
File | Role | Description |
---|---|---|
DatabaseNotFoundException.php | Class | Class source |
ExceptionInterface.php | Class | Class source |
Files | / | EntityGenerator | / | FileHandling |
File | Role | Description |
---|---|---|
FileHandlingInterface.php | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Ratings | User Comments (1) | ||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.