2017 © Pedro Peláez
 

library laravel-crud

Generate Laravel CRUD

image

santosalan/laravel-crud

Generate Laravel CRUD

  • Friday, June 8, 2018
  • by santosalan
  • Repository
  • 1 Watchers
  • 2 Stars
  • 81 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 4 Versions
  • 9 % Grown

The README.md

santosalan/laravel-crud

Install with Composer

php composer.phar require santosalan/laravel-crud, (*1)

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, (*2)

See Tables

php artisan make:crud, (*3)

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], (*4)

or, (*5)

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

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, (*7)

or, (*8)

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

Publish Provider

php artisan vendor:publish --provider 'SantosAlan\LaravelCrud\ServiceProvider', (*10)

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, (*11)

The Versions

08/06 2018

dev-master

9999999-dev

Generate Laravel CRUD

  Sources   Download

MIT

The Requires

 

by Alan Santos

laravel crud admin administrator adminlte santosalan

14/02 2018

dev-fix-snake-names

dev-fix-snake-names

Generate Laravel CRUD

  Sources   Download

MIT

The Requires

 

by Alan Santos

laravel crud admin administrator adminlte santosalan

11/02 2018

v0.0.2

0.0.2.0

Generate Laravel CRUD

  Sources   Download

MIT

The Requires

 

by Alan Santos

laravel crud admin administrator adminlte santosalan