Download the PHP package fastfony/quality-pack without Composer
On this page you can find all versions of the php package fastfony/quality-pack. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fastfony/quality-pack
More information about fastfony/quality-pack
Files in fastfony/quality-pack
Package quality-pack
Short Description A Symfony pack for initializing quality tools in your project
License MIT
Informations about the package quality-pack
Quality Pack
A Symfony pack for initializing quality tools in your project.
Installation
What's included?
This pack includes the following tools and configurations:
- PHPStan - PHP Static Analysis Tool
- PHP CS Fixer - PHP Coding Standards Fixer
- Twig CS Fixer - Twig Coding Standards Fixer
Configuration Files
When using Symfony Flex, the recipe provides the following configuration files:
.twig-cs-fixer.dist.php- Twig CS Fixer configuration (automatically added by recipe).github/workflows/quality.yml- GitHub Actions workflow (automatically added by recipe)Makefile- Quality command shortcut (automatically added by recipe)
Configuration files for PHPStan and PHP CS Fixer are provided by their respective Symfony Flex recipes.
If you're not using Symfony Flex, you can manually add these files to your project.
GitHub Actions Workflow
A GitHub Actions workflow example is provided in .github/workflows/quality.yml that runs:
- Security checks (using Composer Security Audit)
- PHPStan analysis
The workflow runs on all pushes and pull requests to all branches.
Usage
PHPStan
Run static analysis:
PHP CS Fixer
Check code style:
Fix code style:
Twig CS Fixer
Check Twig templates:
Fix Twig templates:
Customization
You can customize the configuration files according to your project's needs. Each configuration file is well-documented and follows best practices.
License
MIT
All versions of quality-pack with dependencies
friendsofphp/php-cs-fixer Version ^3.0
vincentlanglet/twig-cs-fixer Version ^3.0