redbastie/larawire
Composer 安装命令:
composer require redbastie/larawire
包简介
Laravel + Livewire + Bootstrap auth UI & CRUD scaffolding.
README 文档
README
This package is no longer maintained. Please consider my latest package here: https://github.com/redbastie/tailwire
Larawire
Laravel + Livewire + Bootstrap auth UI & CRUD scaffolding.
Requirements:
- Laravel 8
- NPM
Features include:
- auth UI & CRUD scaffolding
- automatic routing & migrations
- user profile, timezones, & CRUD
- infinite scrolling & reCAPTCHA
- & more
Links:
- Tutorial: YouTube Video
- Support: GitHub Issues
- Contribute: GitHub Pulls
- Donate: PayPal
Installation
Install Laravel:
laravel new {app}
Configure the .env app, database, & mail variables:
APP_*
DB_*
MAIL_*
Install Larawire via composer:
composer require redbastie/larawire
Now you can run the make:auth command to generate auth UI scaffolding.
Commands
Generate auth UI scaffolding:
php artisan make:auth
Now you can visit your app URL and login using user@example.com:password.
This user was created via the DatabaseSeeder during auth scaffolding.
Generate CRUD scaffolding:
php artisan make:crud {model}
Remember to update the new model migrations, definitions, and CRUD rules.
Then run the migrate:auto command afterwards.
Run automatic migrations:
php artisan migrate:auto {--fresh} {--seed}
This automatically diffs the database via doctrine using model migration methods.
统计信息
- 总下载量: 342
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 21
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-06