GHYGEN

MySql Service
Setup Mysql Service, for launching tests. It allows execute migrations and configure environment parameters.
Triggering Events
Select triggering events: manually or automatically, when the developer push the code on a specific branch, or a developer create a new Pull Request.
Matrix versions
Select multiple PHP versions (8.3, 8.2, 8.1, 8.0, 7.4, 7.3), multiple Laravel versions (11, 10, 9, 8, 7, 6).
Quality Check
Execute PHPunit/PestPHP tests, Code sniffer (PSR12) or Pint (PER / PSR12), Static code analysis.

Ghygen allows you creating your Yaml file for GitHub Actions, for Laravel/PHP web application, so you can:

  • select triggering events: manually or automatically, when the developer push the code on a specific branch, or a developer create a new Pull Request;
  • select branches;
  • enable caching for all vendors;
  • enable caching PHP packages;
  • select multiple PHP versions (8.3, 8.2, 8.1, 8.0, 7.4, 7.3);
  • select multiple Laravel versions (11, 10, 9, 8, 7, 6), useful if you are developing a Laravel Package and you want to test it with multiple Laravel version;
  • select Node version for NPM (npm run something);
  • caching node packages;
  • setup Mysql service;
  • run migrations;
  • execute tests via phpunit;
  • static code analysis;
  • code sniffer (via phpcs for PSR12 compatibility or Laravel Pint);
  • validate Yaml file;
  • execute Browser Test via Laravel Dusk.

If you want to download it you can clone the repository https://github.com/Hi-Folks/gh-actions-yaml-generator