redbastie / larawire
Laravel + Livewire + Bootstrap auth UI & CRUD scaffolding.
Requires
- barryvdh/laravel-ide-helper: ^2.0
- doctrine/dbal: ^3.0
- google/recaptcha: ^1.2
- jamesmills/laravel-timezone: ^1.9
- laravel/framework: ^8.0
- livewire/livewire: ^2.0
This package is auto-updated.
Last update: 2024-11-14 22:05:43 UTC
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.