HALT Stack starter with focus on type safety and strictness
| app | ||
| bootstrap | ||
| config | ||
| database | ||
| public | ||
| resources | ||
| routes | ||
| storage | ||
| tests | ||
| .editorconfig | ||
| .env.example | ||
| .gitattributes | ||
| .gitignore | ||
| .php-cs-fixer.php | ||
| .prettierignore | ||
| .prettierrc | ||
| artisan | ||
| bun.lock | ||
| composer.json | ||
| composer.lock | ||
| HALT Stack.png | ||
| lefthook.yml | ||
| LICENSE | ||
| package.json | ||
| phpstan.neon | ||
| phpunit.xml | ||
| README.md | ||
| rector.php | ||
| vite.config.js | ||
laravel new --using https://code.rvx.works/RVxLab/laravel-halt-starter --pest --bun --database sqlite
Laravel HALT Stack Starter Kit
A heavily opinionated starter kit for Laravel that bundles essential tooling with the simplicity of the HALT Stack into a jumping off point.
Requirements
- PHP 8.4
- Bun (Can be replaced with your package manager of choice, see below)
Features
- HALT Stack fully set up and ready to roll, just add the
@vitedirective into your layout - HTMX Macros
- Request headers
Installed Packages
The following packages come pre-installed:
PHP CS Fixer
The PHP CS Fixer config is based on Nuno Maduro's Essentials package with some tweaks:
- Uses PER-CS3.0 preset
- Groups Imports
- By extension, disables Single Import Per Statement
- New With Parenthesis
- Disabled for anonymous classes
- No Unused Imports
- Yoda Style
PHPStan
By default, PHPStan is set to level 10.
Bun
By default, this starter kit uses Bun to manage JavaScript dependencies. If you prefer to use a different one, do the following:
- Delete
bun.lock - Update
bunreferences with the equivalent of your preferred package manager in:composer.jsonlefthook.yamlpackage.json
- Delete the
node_modulesfolder - Reinstall your JavaScript dependencies