Skip to content

A Mages (Bootstrap 5, Alpine.js, Laravel and Livewire) Preset for Laravel

Notifications You must be signed in to change notification settings

olakunlevpn/mages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mages

A Mages (Bootstrap 5, Alpine.js, Laravel and Livewire) Preset for Laravel

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

If you're not familiar with the name, it's an acronym that describes the main technologies involved in the stack:

Here are some notable features:

  • Views extend a default layout
  • Front-end assets like Bootstrap 5 and AlpineJS are set up with Vite
  • Bootstrap-powered pagination views

Installation

This preset is intended to be installed into a fresh Laravel application. Follow Laravel's installation instructions to ensure you have a working environment before continuing.

Login View

Installation (without auth)

Then simply run the following commands:

composer require livewire/livewire olakunlevpn/mages
php artisan ui mages
npm install
npm run dev

Installation (with auth)

If you would like to install the preset and its auth scaffolding in a fresh Laravel application, make sure to use the --auth flag on the ui command:

composer require livewire/livewire olakunlevpn/mages
php artisan ui mages --auth
npm install
npm run dev

Some notable features of the authentication scaffolding include:

  • Powered by Livewire components and single action controllers
  • Bundled with pre-written tests

All routes, components, controllers and tests are published to your application. The idea behind this is that you have full control over every aspect of the scaffolding in your own app, removing the need to dig around in the vendor folder to figure out how things are working.

Credits

About

A Mages (Bootstrap 5, Alpine.js, Laravel and Livewire) Preset for Laravel

Resources

Stars

Watchers

Forks

Packages

No packages published