定制 foryoufeng/laravel-generator 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

foryoufeng/laravel-generator

最新稳定版本:v4.0.1

Composer 安装命令:

composer require foryoufeng/laravel-generator

包简介

A tool for generate Laravel code file

README 文档

README

Laravel Generator

Total Downloads Latest Stable Version License

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

GitHub 信息

  • Stars: 70
  • Watchers: 4
  • Forks: 18
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-07-21