msramdan/generator
Composer 安装命令:
composer require msramdan/generator
包简介
Laravel starter app & simple crud generator
README 文档
README
demo.mp4
Laravel starter app and CRUD generator.
Table of Contents
Setup
- Installation
composer require msramdan/generator --dev
Since this package will overwrite some files, it must be installed after a brand-new Laravel installation.
- Register the provider in
config/app.php
/* * Package Service Providers... */ Msramdan\Generator\Providers\GeneratorServiceProvider::class,
- Publish vendor
php artisan generator:publish
- Run migration and seeder
php artisan migrate --seed
- Start development server
php artisan serve
Usage
Go to /generators/create
Login
- Email: admin@example.com
- Password: password
Requirements
What's inside?
- Laravel - ^9.x
- Laravel Forify - ^1.x
- Laravel Debugbar - ^3.x
- Spatie permission - ^5.x
- Yajra datatable - ^10.x
- Intervention Image - ^2.x
- Mazer template - ^2.x
Features
- Authentication (Laravel Fortify)
- Login
- Register
- Forgot Password
- 2FA Authentication
- Update profile information
- Roles and permissions (Spatie Permission)
- CRUD User
- CRUD Generator
- Support more than 15 column type migration, like string, char, date, year, etc.
- Datatables (Yajra datatables)
- BelongsTo relation
- Model casting
- Image upload (Intervention Image)
- Support HTML 5 Input
- Request validations supported:
- required, in, image, min, max, string, email, number, date, exists, nullable, unique, comfirmed
License
Support
You can support me at Github Sponsors, Ko-fi or Saweria
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-05