/generator

Laravel starter app & CRUD generator (Package)

Primary LanguageCSSMIT LicenseMIT

demo.mp4

Laravel starter app and CRUD generator.

All Contributors GitHub last commit License Issues Forks Stars

Table of Contents

  1. Requirements
  2. Setup
  3. What's inside?
  4. Features
  5. License
  6. Contributors

Requirements

Setup

Installation

composer require evdigiina/generator --dev

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

Simple Version

image

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

Usage

Publish assets

php artisan generator:install simple

Register the provider in config/app.php

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

Then goes to /simple-generators/create/


Full Version

image

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

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.

composer require laravel/fortify spatie/laravel-permission

Usage

Publish assets

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

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

Run migration and seeder

php artisan migrate --seed

Then goes to /generators/create

Account

What's inside?

Simple Version

Full Version

Features

Simple Version

Full Version

  • CRUD Generator
  • CRUD User
  • Roles and permissions (Spatie Permission)
  • Authentication (Laravel Fortify)
  • Login
  • Register
  • Forgot Password
  • 2FA Authentication
  • Update profile information

License

MIT License

Contributors