Laravel workflow generator
This creates a make:workflow artisan command to scaffold out a number of useful GitHub actions workflows for Laravel.
Installation
You can install the package via composer:
composer require projektgopher/laravel-workflow-generator
You can publish the config file with:
php artisan vendor:publish --provider="ProjektGopher\WorkflowGenerator\WorkflowGeneratorServiceProvider" --tag="Laravel-workflow-generator-config"
Though you probably won't need to at this point, as there's nothing there.
This is the contents of the published config file:
return [
];
Usage
php artisan workflow:list
Will list out all available workflows to be generated. More will be added.
php artisan workflow:make dusk
Will check for the .github/workflows directory, and create it if it doesn't yet exist. It will then check that directory for a dusk.yml file. If one doesn't yet exist, the package will create and populate it. If it does exist, the package will warn you.
If you've updated the package and want to use a newer version of the workflow,
php artisan workflow:make dusk --force
will overwrite the existing yml file with the newer version.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.