hesto/generators

Generators for Laravel Framework
84 1
Install
composer require hesto/generators
Latest Version:v1.0.4
PHP:>=5.5.0
License:MIT
Last Updated:Dec 6, 2016
Links: GitHub  ·  Packagist
Maintainer: Hesto

Hesto Generators

  • make:view
  • make:view:tab
  • make:view:lang
  • make:controller:template
  • make:route:controller

Usage

Step 1: Install Through Composer

composer require hesto/generators

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:

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

Step 3: Publish config file

Just use

php artisan vendor:publish

and a hesto/generators.php file will be created in your app/config directory.