- Notifications
You must be signed in to change notification settings - Fork2
GrumPHP conventions for Symfony projects at PHPro
License
NotificationsYou must be signed in to change notification settings
phpro/symfony-conventions
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This package is to be required on all PHPro's symfony based projects.
composer config --json extra.symfony.allow-contribtruecomposer config --json extra.symfony.endpoint'["https://api.github.com/repos/phpro/symfony-conventions/contents/index.json", "flex://defaults"]'composer require --dev phpro/symfony-conventions
composer require --dev phpro/symfony-conventions
You can copy the config files from theconfigs/
directory to the root of your project.
Note: If you already have these dependencies installed, you might have to run the flex recipe only:
composer recipescomposer recipes:install THE/DEPENDENCY --force -v
# grumphp.yamlparameters:run_security_advisories:true
You might want to alter the default composer audit configuration in your local composer.json file.
For example if you don't want to fail CI on usage of abandoned packages:
{"config": {"audit": {"abandoned":"report" } }}
See official docs for more information.
composer require --dev phpstan/phpstan phpstan/extension-installer symplify/phpstan-rules
# grumphp.yamlparameters:run_phpstan:true
composer require --dev vimeo/psalm psalm/plugin-symfony
# grumphp.yamlparameters:run_psalm:true
About
GrumPHP conventions for Symfony projects at PHPro
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.