2017 © Pedro Peláez
 

library generators

Larawos's generators for laravel 5.3

image

larawos/generators

Larawos's generators for laravel 5.3

  • Tuesday, September 20, 2016
  • by larawos
  • Repository
  • 0 Watchers
  • 1 Stars
  • 31 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

Larawos's generators for laravel 5.3

If you are using laravel to develop large projects, you will find that you spend a lot of time to write some extra but necessary classes and methods., (*1)

This package will allow you to develop more easily and quickly, only this., (*2)

L5 includes a bunch of generators out of the box, so this package only needs to add a few things, like:, (*3)

  • larawos:module

With one or two more to come., (*4)

Usage

Step 1: Install Through Composer

composer require larawos/generators --dev

Step 2: Add the Service Provider

You'll only want to use these generators for local development, so you don't want to update the production providers array in config/app.php. Instead, add the provider in app/Providers/AppServiceProvider.php, like so:, (*5)

public function register()
{
    if ($this->app->environment() == 'local') {
        $this->app->register('Larawos\Generators\GeneratorsServiceProvider');
    }
}

Step 3: Run Artisan!

You're all set. Run php artisan from the console, and you'll see the new commands in the larawos:* namespace section., (*6)

Examples

Modules

php artisan larawos:module User
COLUMN_NAME:COLUMN_TYPE

Using the except or only when you need..., (*7)

--except="store_request"
--only="model,repository,controller"

...this will give you:, (*8)

  • model
  • attribute and relationship trait for model
  • repository and contract for model.
  • controller.
  • service for controller.
  • a lot of common request.
  • persenter for view.
  • optimized bind and route for module.

The Versions

20/09 2016

dev-master

9999999-dev

Larawos's generators for laravel 5.3

  Sources   Download

MIT

The Requires

 

laravel generators larawos

20/09 2016

2.1.1

2.1.1.0

Larawos's generators for laravel 5.3

  Sources   Download

MIT

The Requires

 

laravel generators larawos

18/09 2016

2.1.0

2.1.0.0

Larawos's generators for laravel 5.3

  Sources   Download

MIT

The Requires

 

laravel generators larawos

06/09 2016

2.0.3

2.0.3.0

Larawos's generators for laravel 5.3

  Sources   Download

MIT

The Requires

 

laravel generators larawos

06/09 2016

2.0.2

2.0.2.0

Larawos's generators for laravel 5.3

  Sources   Download

MIT

The Requires

 

laravel generators larawos

04/09 2016

2.0.1

2.0.1.0

Larawos's generators for laravel 5.3

  Sources   Download

MIT

The Requires

 

laravel generators larawos

04/09 2016

2.0

2.0.0.0

Larawos's generators for laravel 5.3

  Sources   Download

MIT

The Requires

 

laravel generators larawos

03/09 2016

1.0.1

1.0.1.0

Larawos's generators for laravel 5.

  Sources   Download

MIT

The Requires

 

laravel generators larawos

23/08 2016

1.0

1.0.0.0

Larawos's generators for laravel 5.

  Sources   Download

MIT

The Requires

 

laravel generators larawos