Easy Data Framework. An easy way to get a CRUD form added a filter grid builded by reverse engineer and other a lot of tools.
Requires
- php: >=5.4
- ext-ctype: *
- ext-dom: *
- ext-fileinfo: *
- ext-gd: *
- ext-iconv: *
- ext-libxml: *
- ext-mbstring: *
- ext-mysqli: *
- ext-pdo: *
- ext-pdo_mysql: *
- ext-session: *
- ext-simplexml: *
- ext-xml: *
- ext-xmlreader: *
- ext-xmlwriter: *
- ext-zip: *
- ext-zlib: *
- estaleiroweb/traits: *@dev
- phpseclib/phpseclib: *
Requires (Dev)
- phpunit/phpunit: ^4.8.18
This package is auto-updated.
Last update: 2024-10-18 19:59:32 UTC
README
Easy Data Framework. An easy way to get a CRUD form added a filter grid builded by reverse engineer and other a lot of tools.
Database reverse engineering for Model Classes, view and CRUD.
The Framework speeds up the time to market a job based in databases. It keep updated all the Model classes sicronized with Meta Data of DBMS. Through the DB Client the developer can easily build a ERM (Entity Relation Model) and get a PHP Model class. Easy Data get all meta data of DBMS and build classes to use without writing any lines of PHP. Only enjoy! It even implements a report grid with filters, a CRUD form and many other features.
Instalation
By Composer, load the pack
composer require estaleiroweb/ed
After the conclusion Composer, do the instalation of Easy Data. You can do it for 2 ways.
This example was ran on the root project.
1 - Simbol Link (recomendated)
ln -s vendor/estaleiroweb/ed/admin.php #To first install ./admin.php install #To admitrate ./admin.php
2 - Direcly
php -r "require 'vendor/autoload.php'; new EstaleiroWeb\ED\IO\Admin(true);"
To run administrator, do without true:
php -r "require 'vendor/autoload.php'; new EstaleiroWeb\ED\IO\Admin;"
3 - Creting a admin.php file
You can see a exmaple code in vendor folder
#!/usr/bin/env php require 'vendor/autoload.php'; new EstaleiroWeb\ED\IO\Admin();
Change permitions to execute
chmod +x admin.php
So you can run passing parameter install
./admin.php install
With this method you can run without install parameter to acess menu of administration.
./admin.php
Result:
Easy Data Main Menu 1 - Alter the main Key 2 - Manager DSN Connections 3 - Config Directories 4 - Repopulate Database Choice your option [0/ESC - To Exit]:
Donate
Contact: helbert@estaleiroweb.com.br
Be a Funder of the Project