Skip to content

Laravel 8 with TALL Stack (TailwindCSS, AlpineJS, Laravel, Livewire)

Notifications You must be signed in to change notification settings

chiqors/laravel-tallstack-boilerplate

Repository files navigation

Build Status Total Downloads Latest Stable Version License

About Laravel TallStack

A front-end preset for Laravel to scaffold an application using the TALL stack, jumpstarting your application's development.

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

Some notable features of this package include:

  • Views extending a default layout
  • Front-end assets like Tailwind CSS and Alpine.js compiled with Laravel Mix
  • Tailwind-powered pagination views
  • The Tailwind UI and Tailwind's Custom Forms extensions available out-of-the-box

Note: If you're looking for an application boilerplate that supports the TALL stack, you should check out Laravel Jetstream. It comes with authentication scaffolding, account management, teams support.

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.

Installation (without auth)

Then simply run the following commands:

git clone https://github.com/chiqors/laravel-tallstack-boilerplate.git
composer install
npm install
npm run dev

Installation

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.

CSS purging

Tailwind uses PurgeCSS to remove any unused classes from your production CSS builds. You can modify or remove this behaviour in the purge section of your tailwind.config.js file. For more information, please see the Tailwind documentation.

Removing the package

If you don't want to keep this package installed once you've installed the preset, you can safely remove it. Unlike the default Laravel presets, this one publishes all the auth logic to your project's /app directory, so it's fully redundant.

Credits

License

The Laravel framework is open-sourced software licensed under the MIT license.