hesto / generators
Generators for Laravel Framework
v1.0.4
2016-12-06 10:11 UTC
Requires
- php: >=5.5.0
- hesto/core: >=1.0.6
This package is not auto-updated.
Last update: 2026-03-01 03:26:53 UTC
README
make:viewmake:view:tabmake:view:langmake:controller:templatemake: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.