Laravel Packages

A TALL (Tailwind CSS, Alpine.js, Laravel, and Livewire) Preset for Laravel

Published
A TALL (Tailwind CSS, Alpine.js, Laravel, and Livewire) Preset for Laravel image

There is a newly available frontend preset for Laravel that can get you up-and-running quickly with the TALL stack. If you’re not familiar with the name, it’s an acronym that describes the main technologies involved in the stack:

This stack was popularised by Matt Stauffer as he created tallstack.dev to promote its benefits and showcase novapackages.com, which was built with these tools.

This preset takes all of the pain of setting up a new application out of the way by providing some well-thought-out boilerplate. Here are some notable features:

  • Frontend assets like TailwindCSS and AlpineJS are set up with Laravel Mix
  • Tailwind UI and Tailwind’s Custom Forms extensions are available out-of-the-box
  • Views extend a default layout

To install the preset in a fresh Laravel application:

composer require livewire/livewire laravel-frontend-presets/tall
php artisan ui tall
npm install
npm run dev

If you want authentication in your application, make sure to use the --auth flag on the preset command to get all the relevant routes, controllers, components and views:

composer require livewire/livewire laravel-frontend-presets/tall
php artisan ui tall --auth
npm install
npm run dev

There are some notable things about the authentication scaffolding, too:

  • Most of the auth scaffolding comes as Livewire components
  • The parts that can’t be components are set up as single-action controllers
  • The auth components come with full tests

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

This preset was put together by Dan Harrin, Ryan Chandler and Liam Hammett.

If you’re keen to get started on a new project with these technologies, check out the preset’s readme for installation instructions and more information.

Liam Hammett photo

Developing applications with PHP & Laravel. Doing a lot of work with localisation.

Sponsored

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Queue totalSize() and JobInterrupted Event in Laravel 13.31 image

Queue totalSize() and JobInterrupted Event in Laravel 13.31

Read article
Find Unexpected Test Inputs with Fuzz for Pest image

Find Unexpected Test Inputs with Fuzz for Pest

Read article
Laravel Rulebook: Business Rules That Change by Date image

Laravel Rulebook: Business Rules That Change by Date

Read article
Taylor disabled GitHub Issues on most Laravel open-source packages. image

Taylor disabled GitHub Issues on most Laravel open-source packages.

Read article
Exclude Vendor and Default Commands in `php artisan dev` image

Exclude Vendor and Default Commands in `php artisan dev`

Read article
The Laracon Archive image

The Laracon Archive

Read article