2017 © Pedro Peláez
 

library lf-generator

Laravel 5 repository / model generator.

image

terranc/lf-generator

Laravel 5 repository / model generator.

  • Saturday, August 12, 2017
  • by terranc
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

LF-generator

Installation

Step 1

composer install terranc/lf-generator --dev

Step 2

Add the following code to your app/Providers/AppServiceProvider.php file, within the root() method:, (*1)

if ($this->app->environment() == 'local') {
  $this->app->register(\Lookfeel\Boilerplate\GeneratorCommandServiceProvider::class);
}

Usage

php artisan app:xxx
 app
  app:attribute        Create a new attribute traits for model
  app:model            Create a new Eloquent model class with attribute, relationship and scope traits
  app:name             Set the application namespace
  app:relationship     Create a new relationship traits for model
  app:repository       Create a new repository class
  app:scope            Create a new scope traits for model
  app:service          Create a new service class

hariadi/laravel-boilerplate-generator, (*2)

The Versions

12/08 2017

dev-master

9999999-dev

Laravel 5 repository / model generator.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar terranc

laravel repository

06/07 2017

0.1.x-dev

0.1.9999999.9999999-dev

Laravel 5 repository / model generator.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar terranc

laravel repository