2017 © Pedro Peláez
 

package laravel-pattern-generator

PHP Laravel - Pattern Generator

image

nuworks/laravel-pattern-generator

PHP Laravel - Pattern Generator

  • Monday, October 23, 2017
  • by nwjeffm
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PATTERN GENERATOR (LARAVEL), (*1)

This package provides a variety of generator commands to speed up your development process. These includes:, (*2)

  • make:pg-trait
  • make:pg-model
  • make:pg-service
  • make:pg-repository-interface
  • make:pg-bindings-service-provider

REQUIREMENTS - Laravel 5.2 and below, (*3)

INSTALLATION Edit your project's composer.json file to require nuworks/laravel-pattern-generator., (*4)

"require-dev": {
     "nuworks/laravel-pattern-generator": "dev-master"
}

Next, update Composer from the Terminal:, (*5)

composer update --dev

Once this operation completes, open config/app.php and add a new item to the providers array., (*6)

NuWorks\PatternGenerator\Core\PatternGeneratorServiceProvider::class

Do a Composer dump to refresh your autoload files., (*7)

composer dump-autoload -o

You're all set to go! Run the artisan command from the Terminal to see the new make commands., (*8)

php artisan

USAGE, (*9)

Create a new trait by using make:pg-trait., (*10)

php artisan make:pg-trait {trait} --folder={directory}

Create a new model by using make:pg-model., (*11)

php artisan make:pg-model {model} --folder={directory}

Create a new service altogether with model., (*12)

php artisan make:pg-service {model} --model --folder={directory}

Create a repository interface., (*13)

php artisan make:pg-repository-interface {interface} --folder={directory}

Create a bindings service provider., (*14)

php artisan make:pg-bindings-service-provider {service-provider} --folder={directory}

The Versions

23/10 2017

dev-master

9999999-dev

PHP Laravel - Pattern Generator

  Sources   Download

MIT

The Requires

 

laravel php pattern generator