An open source tool to generate a complete backend from a MySql database.Download now!
The backend is generated in seconds without configuration files where there is a lot of "magic" and is very difficult to adapt to your needs.
The code is hosted on GitHub. Fork it and send us your pull requests.
It has been programmed with the Silex framework, so the resulting code is PHP.
Generates one menu section for each database table. Now will be much easier to list, create, edit and delete items!
Generate the backend from your existing database.
When a column ends in "_id" and the first part is a database table, the edit and create form automatically generates a select with the "name", "title", "username" or "email" column of this table. Also, on listings, that value is displayed instead of the "id".
The generated code is "pure" PHP code, you can modify and adapt to your needs.
We used this bootstrap based design: AdminLTE
git clone https://github.com/jonseg/crud-admin-generator.git admingenerator
curl -sS https://getcomposer.org/installer | php
php composer.phar install
<VirtualHost *:80> DocumentRoot /path_to/admingenerator/web DirectoryIndex index.php <Directory "/path_to/admingenerator/web"> Options Indexes FollowSymLinks Order Allow,Deny Allow from all AllowOverride all <IfModule mod_php5.c> php_admin_flag engine on php_admin_flag safe_mode off php_admin_value open_basedir none </ifModule> </Directory> </VirtualHost>
$app->register(new Silex\Provider\DoctrineServiceProvider(), array( 'dbs.options' => array( 'db' => array( 'driver' => 'pdo_mysql', 'dbname' => 'DATABASE_NAME', 'host' => 'localhost', 'user' => 'DATABASE_USER', 'password' => 'DATABASE_PASS', 'charset' => 'utf8', ), ) ));
$app['asset_path'] = '/resources';
$app['asset_path'] = 'http://domain.com/crudadmin/resources';
php console generate:admin