This repository is a CI playground. The Laravel application here is only used to exercise and validate GitHub Actions workflows. The focus of this project is automation and developer experience in pull requests.
Currently enabled workflows live under .github/workflows/.
Below is a list of tools used in this CI experiment. For each tool you’ll find how to run it locally, a link to its docs, and a link to a PR where a failed run of the tool is shown.
-
Rector
- Run locally:
- Dry run:
./vendor/bin/rector process --dry-run - Fix errors:
./vendor/bin/rector process
- Dry run:
- Docs: https://getrector.com/
- Workflow: .github/workflows/run_rector.yml
- PR's:
- Run locally:
-
PHPArkitect
- Run locally:
- Check for errors:
composer phparkitect - Generate baseline:
composer phparkitect-baseline
- Check for errors:
- Docs: https://github.com/phparkitect/arkitect
- Workflow: .github/workflows/run_phparkitect.yml
- PR: #6
- Run locally:
-
Peck
- Run locally:
composer peck - Docs: https://github.com/peckphp/peck
- Workflow: .github/workflows/run_peck.yml
- PR: #7
- Run locally:
-
Composer Audit
- Run locally:
composer audit - Docs: https://getcomposer.org/doc/03-cli.md#audit
- Workflow: .github/workflows/run_composer_audit.yml
- PR: #8
- Run locally:
-
Tests (PHPUnit / Laravel Test)
- Run locally:
composer test - Docs: https://laravel.com/docs/12.x/testing
- Workflow: .github/workflows/run_phpunit.yml
- PR: #4
- Run locally:
-
PHPStan (with Larastan)
- Run locally:
- Check for errors:
composer phpstan - Generate baseline:
composer phpstan-baseline
- Check for errors:
- Docs: https://phpstan.org/ and https://github.com/nunomaduro/larastan
- Workflow: .github/workflows/run_phpstan.yml
- PR: #5
- Run locally: