LaravelPackages.net
Acme Inc.
Toggle sidebar
terranc/lf-generator

Laravel 5 repository / model generator.

56
0
1.0.1
About terranc/lf-generator

terranc/lf-generator is a Laravel package for laravel 5 repository / model generator.. It currently has 0 GitHub stars and 56 downloads on Packagist (latest version 1.0.1). Install it with composer require terranc/lf-generator. Discover more Laravel packages by terranc or browse all Laravel packages to compare alternatives.

Last updated

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:

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

Comments