This repository provides production-ready, reusable GitHub Actions workflows for Symfony PHP projects, consolidating best practices from MacPaw's public repositories.
All reusable workflows are located in .github/workflows folder
- symfony-php-reusable.yml - Comprehensive Symfony PHP quality checks and testing workflow
- π Code Quality - PHPStan, PHPCS, PHP-CS-Fixer, Rector, Infection
- π§ͺ Multi-Version Testing - PHP 7.4-8.4, Symfony 4.4-7.3
- π Code Coverage - Xdebug + Codecov integration
- π― Custom Matrix Exclusions - Flexible version compatibility
- π§ Custom Config Files - Custom configuration paths for all quality tools
- βοΈ Configurable Thresholds - Custom Infection MSI thresholds
- β‘ Performance Optimized - Parallel execution, intelligent caching
- π Detailed Documentation
- Symfony PHP Reusable Workflow - Complete workflow documentation with:
- π₯ All input parameters and configuration options
- π Multiple usage examples (basic, minimal, full, extended matrix)
- π Workflow diagram and process details
- π― Matrix strategy and custom exclusions
- π οΈ Advanced features and optimizations
- π¨ Prerequisites and required configuration files
- π§ Troubleshooting guide
- π Analysis of MacPaw's Symfony repositories
- π Best practices and recommendations
Contributions are welcome! When adding new features:
- Test across multiple PHP/Symfony version combinations
- Update documentation to reflect changes
- Maintain backward compatibility
- Add usage examples
- Update analysis documentation if adding new tools
This project is licensed under the MIT License - see the LICENSE file for details.
For information about reporting security vulnerabilities, please see our Security Policy.