2017 © Pedro Peláez
 

library laravel-generator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

image

zezont4/laravel-generator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  • Monday, April 16, 2018
  • by zezont4
  • Repository
  • 1 Watchers
  • 0 Stars
  • 66 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 29 Versions
  • 0 % Grown

The README.md

Laravel 5 Generator

Latest Version on Packagist ![Software License][ico-license], (*1)

Requirements

PHP >= 5.5.9
Laravel >=5.2
Auto Loaded : [laravelcollective/html package for form & html](https://laravelcollective.com/docs/5.2/html)

HOW IT WORKS ?

Select your MySql table then Laravel Generator will generate :

-Model. -Controller. -Request. -Forms (index "with filters and sorting",search,show,edit,create) using Materialize Css. -Auto generated Routs and language array., (*2)

It's a little bit smart , So it will do the following:

-Field comment in database will be the Label , if not exists thin the field name. -If type of field is TINYINT(1) then the Input type will be Radio (Optional). -If the field does not allow Null then it will be required in the request. -if field is set to be unique in database the a unique validation will be set. -if type of field is int the a numeric validation will be set., (*3)

You can configure the models path and messages and buttons labels by changing them in (config/zlg.php) file.

You can customize fields template by changing them in (resources/views/zezont4/components/form).

For security , It only works if APP_ENV=local in .env file.

Installation

  1. Run ``` bash composer require zezont4/LaravelGenerator
2.  Add service provider & Aliases to **/config/app.php** file.
``` php
    'providers' => [
        \\ Other Providers,
        Zezont4\LaravelGenerator\LaravelGeneratorServiceProvider::class,
        Collective\Html\HtmlServiceProvider::class,
    ],

    'aliases' => [
        \\ Other Aliases,
        'Form' => Collective\Html\FormFacade::class,
        'Html' => Collective\Html\HtmlFacade::class,
    ],
  1. Publish assets and components files. bash php artisan vendor:publish --force
  2. Visit (http://your_host_name/laravel_generator)
  3. Copy layouts files from resources/views/copy_to_layouts to resources/views/layouts.
  4. Copy assets files from public/copy_to_public to public root.

Credits

License

The MIT License (MIT). Please see License File for more information., (*4)

The Versions

16/04 2018

dev-master

9999999-dev https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

09/04 2016

0.5.5

0.5.5.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

07/04 2016

0.5.4

0.5.4.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

07/04 2016

0.5.3

0.5.3.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

06/04 2016

0.5.2

0.5.2.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

06/04 2016

0.5.1

0.5.1.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

06/04 2016

0.5.0

0.5.0.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

03/04 2016

0.4.51

0.4.51.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

03/04 2016

0.4.5

0.4.5.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

03/04 2016

0.4.4

0.4.4.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

03/04 2016

0.4.3

0.4.3.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

03/04 2016

0.4.2

0.4.2.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

01/04 2016

0.4.1

0.4.1.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

31/03 2016

0.4.0

0.4.0.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

30/03 2016

0.3.5

0.3.5.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

30/03 2016

0.3.4

0.3.4.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

30/03 2016

0.3.3

0.3.3.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

29/03 2016

0.3.2

0.3.2.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

29/03 2016

0.3.1

0.3.1.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

28/03 2016

0.2.2

0.2.2.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

28/03 2016

0.2.1

0.2.1.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel uses to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

by Abdulaziz Tayyar

zezont4 laravelgenerator

28/03 2016

0.2.0

0.2.0.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel use to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

The Development Requires

by Abdulaziz Tayyar

zezont4 laravelgenerator

27/03 2016

0.1.7

0.1.7.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel use to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

The Development Requires

by Abdulaziz Tayyar

zezont4 laravelgenerator

27/03 2016

0.1.6

0.1.6.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel use to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

The Development Requires

by Abdulaziz Tayyar

zezont4 laravelgenerator

27/03 2016

0.1.5

0.1.5.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel use to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

The Development Requires

by Abdulaziz Tayyar

zezont4 laravelgenerator

27/03 2016

0.1.4

0.1.4.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel use to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

The Development Requires

by Abdulaziz Tayyar

zezont4 laravelgenerator

25/03 2016

0.1.3

0.1.3.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel use to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

The Development Requires

by Abdulaziz Tayyar

zezont4 laravelgenerator

25/03 2016

0.1.2

0.1.2.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel use to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

The Development Requires

by Abdulaziz Tayyar

zezont4 laravelgenerator

25/03 2016

0.1

0.1.0.0 https://github.com/zezont4/LaravelGenerator

Generate the main classes that laravel use to work with database . Like model,controller,request,blade forms

  Sources   Download

MIT

The Requires

 

The Development Requires

by Abdulaziz Tayyar

zezont4 laravelgenerator