Skip to content

WARNING

You're browsing the documentation for an old version of Generator. Consider upgrading your project to Generator 0.3.x.

Get Started ​

Requirements ​

All you need is

Installation ​

sh
composer require evdigiina/generator --dev

For this package, there are two variations: Simple Version and Full Version

Simple Version ​

Simple Version

Only the generator, includes: Yajra Datatables, Intervention Image, and Bootstrap 5.

View all features

Publish assets

sh
php artisan generator:install simple

Register the provider in config/app.php

php
/*
* Package Service Providers...
*/
App\Providers\ViewComposerServiceProvider::class,

Then go to /simple-generators/create/


Full Version ​

Full Version

The generator + starter app, includes: Yajra Datatables, Intervention Image, Laravel Fortify, Spatie Permission, and Mazer Template.

View all features.

Installing this package after a brand-new Laravel installation is necessary if you want to use the full version of it. because several files will be overwritten.

Install Laravel Fortify & Spatie Permission

sh
composer require laravel/fortify spatie/laravel-permission

Publish assets

sh
php artisan generator:install full

Warning! Be careful with this command, it will overwrite several files, don't run it multiple times.

Register the provider in config/app.php

php
/*
* Package Service Providers...
*/
App\Providers\FortifyServiceProvider::class,
Spatie\Permission\PermissionServiceProvider::class,
App\Providers\ViewComposerServiceProvider::class,

Run migration and seeder

sh
php artisan migrate --seed

Then go to /generators/create

Account

What's inside? ​

Simple Version ​

Full Version ​