santosalan/laravel-crud 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

santosalan/laravel-crud

最新稳定版本:v1.1.15

Composer 安装命令:

composer require santosalan/laravel-crud

包简介

Generate Laravel CRUD

README 文档

README

Install with Composer

php composer.phar require santosalan/laravel-crud

Doctrine Inflectors - Irregular Plural and Singular

Add it in config/app.php

/**
 * Irregulares Words
 */
'doctrine-inflector' => [
    'plural' => [
        'irregular' => [
            'traducao' => 'traducoes',
        ],
    ],

    'singular' => [
        'irregular' => [
            'traducoes' => 'traducao',
        ],
    ],
],

Add it in app/Providers/AppServiceProvider.php

public function boot()
{
    // Doctrine Irregular Rules
    Inflector::rules('plural', config('app.doctrine-inflector.plural'));
    Inflector::rules('singular', config('app.doctrine-inflector.singular'));
}

See Help

php artisan make:crud -h

See Tables

php artisan make:crud

Generate a Basic Laravel-CRUD examples

php artisan make:crud --tables [ all | table_number ] --path-models 'App\Models' --routes [ y | n ] --theme [1=AdminLTE | 2=Porto Admin]

or

php artisan make:crud -t [ all | table_number ] -p 'App\Models' -r [ y | n ] -T [1=AdminLTE | 2=Porto Admin]

Generate a Basic Laravel-CRUD API Client to santosalan/lumen-crud core

php artisan make:crud --tables [ all | table_number ] --path-models 'App\Models' --routes [ y | n ] --api-client Y

or

php artisan make:crud -t [ all | table_number ] -p 'App\Models' -r [ y | n ] -a Y

Publish Provider

php artisan vendor:publish --provider 'SantosAlan\LaravelCrud\ServiceProvider'

If make crud the API Client configure the app/Services/CoreApiService.php with data of the system core Lumen CRUD Server

Caution: All files will be replaced

统计信息

  • 总下载量: 1.96k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-26