To maintain the same presets for all projects the config files for tighten/duster is stored here and published in each project.
You can install the package via composer:
composer require inly/duster-presets --dev
Install duster if not already done:
composer require tightenco/duster --dev
You can publish and update the config files with:
php artisan vendor:publish --provider="Inly\DusterPresets\DusterPresetsServiceProvider" --force
Add this to your scrips in composer.json
:
"lint": "./vendor/bin/duster lint",
"format": "./vendor/bin/duster fix"
You can now run duster with one of these commands:
composer lint
composer format
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.