ptournet / laravel-preset
Patrick Tournet's Laravel Frontend Preset (based on Adam Wathan's one)
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ptournet/laravel-preset
Requires
- laravel/framework: ^5.7
This package is auto-updated.
Last update: 2025-10-24 09:04:17 UTC
README
(based on Adam Wathan's one)
A Laravel frontend preset that scaffolds out new applications just the way I like 'em!
What it includes:
- Tailwind CSS with a configuration file
- postcss-nesting for nested CSS support
- Purgecss, via spatie/laravel-mix-purgecss
- Vue.js
- Removes Bootstrap and jQuery
- Adds compiled assets to
.gitignore - Adds a simple Tailwind-tuned default layout template
- Replaces the
welcome.blade.phptemplate with one that extends the main layout
Installation
This package being now on Packagist, you just have to run this command to add the preset to your project:
composer require ptournet/laravel-preset --dev
Finally, apply the scaffolding by running:
php artisan preset mine
Roadmap
I intend to implement the following features :
- Replace the
make:authtemplates with simplified ones styled with Tailwind CSS - Create a new
tailvuepreset replacing all the original templates with visually identical content Tailwind styled (could end up being a PR in Laravel) - Of course, update Tailwind, Vue.js, postcss, Purgecss and Laravel to the most recent versions