foryoufeng/laravel-generator
最新稳定版本:v4.0.1
Composer 安装命令:
composer require foryoufeng/laravel-generator
包简介
A tool for generate Laravel code file
README 文档
README
Laravel Generator
中文文档
A graphical interface code generator for quickly generating code for Laravel applications.
Installation
If you have PHP and Composer installed, you can install the Laravel installer via Composer:
composer require --dev foryoufeng/laravel-generator
Run the following command to install the code generator:
php artisan generator:install
Add the creator's information in the .env file:
GENERATOR_AUTHOR=Your Name
Now you can access your application URL http://localhost:8000/laravel-generator to use laravel-generator.
Configuration file
Publish configuration file
php artisan vendor:publish --tag=laravel-generator
generator.php file description:
<?php return [ 'name' => 'Laravel Generator', // the url to access 'route'=>'laravel-generator', // Define rules 'rules' => [ 'string', 'email', 'file', 'numeric', 'array', 'alpha', 'alpha_dash', 'alpha_num', 'date', 'boolean', 'distinct', 'phone', 'custom' ], // Custom parameters 'custom_keys'=>[ 'author'=>env('GENERATOR_AUTHOR','system') ] ];
Update Log
View changelog for update logs.
MIT. Please see the license file for more information.
统计信息
- 总下载量: 2.77k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 71
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-07-21