estaleiroweb/ed
Composer 安装命令:
composer require estaleiroweb/ed
包简介
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.
README 文档
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
统计信息
- 总下载量: 105
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-13