Hesto / generators by Hesto

Generators for Laravel Framework
82
1
2
Package Data
Maintainer Username: Hesto
Maintainer Contact: losiakp@gmail.com (Hesto)
Package Create Date: 2016-08-13
Package Last Update: 2016-12-06
Language: PHP
License: MIT
Last Refreshed: 2024-12-19 03:10:57
Package Statistics
Total Downloads: 82
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

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.