A Laravel preset to bootstrap a Laravel application with everything I need.
This preset is based on adamwathan/laravel-preset and sixlive/laravel-preset.
Composer packages
- bensampo/laravel-enum
- beyondcode/laravel-self-diagnosis
- sentry/sentry-laravel
- beyondcode/laravel-query-detector (dev)
- friendsofphp/php-cs-fixer (dev)
- nunomaduro/larastan (dev)
NPM packages
- BrowserSync
- Tailwind CSS
- postcss-nesting for nested CSS support
- Purgecss, via spatie/laravel-mix-purgecss
- Prettier
- removes axios, bootstrap, lodash, jquery, popper.js and vue
Configuration files
- Browserlist for Belgium
- EditorConfig
- gitignore
- PHP-CS-Fixer
- Prettier
- docker-compose to create a development environment
- PHPUnit with sqlite in memory as database
- Laravel Mix
Resources
- Adds a simple Tailwind-tuned default layout template
- Replaces the welcome.blade.php template with one that extends the main layout
- Add
meta.php
to the language files
This package isn't on Packagist, so to get started, add it as a repository to your composer.json
file:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/elhebert/laravel-preset"
}
]
Next, run this command to add the preset to your project:
composer require elhebert/laravel-preset --dev
php artisan preset elhebert
Please see CONTRIBUTING for more details.
This preset is licensed under the MIT license.