Entity Generator: Generate database table access classes

Recommend this page to a friend!
  Info   View files Example   View files View files (27)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 75%Total: 172 All time: 8,626 This week: 210Up
Version License PHP version Categories
entitygenerator 1.0.0The PHP License5PHP 5, Databases, Code Generation
Description Author

This package can generate database table access classes.

It provides classes to retrieve information about database tables and fields.

Separate scripts will generate classes with getter and setter functions to access the listed database tables within there own namespace.

Picture of Channaveer Hakari
  Performance   Level  
Name: Channaveer Hakari <contact>
Classes: 3 packages by
Country: India India

 

Details

EntityGenerator

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.

Installation Instructions

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 folder image Files  
File Role Description
Files folder imageEntityGenerator (5 directories)
Accessible without login Plain text file autoload.php Aux. Auxiliary script
Accessible without login Plain text file generateEntities.php Example Example script
Accessible without login Plain text file getTables.php Example Example script
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file init.php Example Example script
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  EntityGenerator  
File Role Description
Files folder imageassets (3 directories)
Files folder imageDatabase (4 files)
Files folder imageException (2 files)
Files folder imageFileHandling (1 file)
Files folder imageHelper (1 file)

  Files folder image Files  /  EntityGenerator  /  assets  
File Role Description
Files folder imagecss (2 directories)
Files folder imagefonts (1 file)
Files folder imagejs (2 files, 2 directories)

  Files folder image Files  /  EntityGenerator  /  assets  /  css  
File Role Description
Files folder imagebootstrap (4 files)
Files folder imagesumoselect (1 file)

  Files folder image Files  /  EntityGenerator  /  assets  /  css  /  bootstrap  
File Role Description
  Accessible without login Plain text file bootstrap-theme.min.css Data Auxiliary data
  Accessible without login Plain text file bootstrap-theme.min.css.map Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.css Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.css.map Data Auxiliary data

  Files folder image Files  /  EntityGenerator  /  assets  /  css  /  sumoselect  
File Role Description
  Accessible without login Plain text file sumoselect.css Data Auxiliary data

  Files folder image Files  /  EntityGenerator  /  assets  /  fonts  
File Role Description
  Accessible without login Plain text file glyphicons-halflings-regular.svg Data Auxiliary data

  Files folder image Files  /  EntityGenerator  /  assets  /  js  
File Role Description
Files folder imagebootstrap (2 files)
Files folder imagesumoselect (3 files)
  Accessible without login Plain text file getTablesByDatabase.js Data Auxiliary data
  Accessible without login Plain text file jquery2_1_1.js Data Auxiliary data

  Files folder image Files  /  EntityGenerator  /  assets  /  js  /  bootstrap  
File Role Description
  Accessible without login Plain text file bootstrap.min.js Data Auxiliary data
  Accessible without login Plain text file npm.js Data Auxiliary data

  Files folder image Files  /  EntityGenerator  /  assets  /  js  /  sumoselect  
File Role Description
  Accessible without login Plain text file jquery.sumoselect.jquery.json Data Auxiliary data
  Accessible without login Plain text file jquery.sumoselect.js Data Auxiliary data
  Accessible without login Plain text file jquery.sumoselect.min.js Data Auxiliary data

  Files folder image Files  /  EntityGenerator  /  Database  
File Role Description
  Plain text file DatabaseConnection.php Class Class source
  Plain text file DatabaseConnectionInterface.php Class Class source
  Plain text file DatabaseRepository.php Class Class source
  Plain text file DatabaseRepositoryInterface.php Class Class source

  Files folder image Files  /  EntityGenerator  /  Exception  
File Role Description
  Plain text file DatabaseNotFoundException.php Class Class source
  Plain text file ExceptionInterface.php Class Class source

  Files folder image Files  /  EntityGenerator  /  FileHandling  
File Role Description
  Plain text file FileHandlingInterface.php Class Class source

  Files folder image Files  /  EntityGenerator  /  Helper  
File Role Description
  Plain text file HelperFunctions.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:172
This week:0
All time:8,626
This week:210Up
User Ratings User Comments (1)
 All time
Utility:93%StarStarStarStarStar
Consistency:93%StarStarStarStarStar
Documentation:93%StarStarStarStarStar
Examples:93%StarStarStarStarStar
Tests:-
Videos:-
Overall:75%StarStarStarStar
Rank:141
 
nice
3 years ago (muabshir)
80%StarStarStarStarStar
 

For more information send a message to info at phpclasses dot org.