- TALL stack (Tailwind, AlpineJS, Laravel, Livewire)
- Turbolinks
- User roles
- php cs fixer
- php stan
- spatie laravel health
- git clone https://github.com/vitoo/laravel.git
- cd laravel
- composer update
- cp .env.example .env
- update .env file with DB credentials
- php artisan key:generate
- npm install
- npm run dev
- php artisan serve
.git/hooks/pre-commit
#!/bin/sh
PHP_CS_FIXER="php-cs-fixer"
git status --porcelain | grep -e '^[AM]\(.*\).php$' | cut -c 3- | while read line; do
$PHP_CS_FIXER fix --verbose "$line";
git add "$line";
done