redbastie / larawire

Laravel + Livewire + Bootstrap auth UI & CRUD scaffolding.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NO LONGER MAINTAINED

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:

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.

About

Laravel + Livewire + Bootstrap auth UI & CRUD scaffolding.


Languages

Language:PHP 95.7%Language:JavaScript 4.3%