{"id":20310143,"url":"https://github.com/phpro/symfony-conventions","last_synced_at":"2025-04-11T15:41:01.652Z","repository":{"id":43177105,"uuid":"470025108","full_name":"phpro/symfony-conventions","owner":"phpro","description":"GrumPHP conventions for Symfony projects at PHPro","archived":false,"fork":false,"pushed_at":"2024-09-10T06:28:08.000Z","size":44,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-25T11:49:21.592Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phpro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-15T05:56:01.000Z","updated_at":"2024-09-10T06:27:31.000Z","dependencies_parsed_at":"2024-09-10T08:42:42.731Z","dependency_job_id":"289e3d86-9164-4dc3-96d5-82bc7f946381","html_url":"https://github.com/phpro/symfony-conventions","commit_stats":{"total_commits":19,"total_committers":4,"mean_commits":4.75,"dds":0.5789473684210527,"last_synced_commit":"4510fe567f900444342a1c371ca9e578ae747e1c"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpro%2Fsymfony-conventions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpro%2Fsymfony-conventions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpro%2Fsymfony-conventions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phpro%2Fsymfony-conventions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phpro","download_url":"https://codeload.github.com/phpro/symfony-conventions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248432935,"owners_count":21102470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T17:30:07.911Z","updated_at":"2025-04-11T15:41:01.633Z","avatar_url":"https://github.com/phpro.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GrumPHP Symfony Convention\n\nThis package is to be required on all PHPro's symfony based projects.\n\n## Installation\n\n### With symfony/flex\n\n```bash\ncomposer config --json extra.symfony.allow-contrib true\ncomposer config --json extra.symfony.endpoint '[\"https://api.github.com/repos/phpro/symfony-conventions/contents/index.json\", \"flex://defaults\"]'\ncomposer require --dev phpro/symfony-conventions\n```\n\n### Without symfony/flex\n\n```bash\ncomposer require --dev phpro/symfony-conventions\n```\n\nYou can copy the config files from the `configs/` directory to the root of your project.\n\n\n## Optional packages based on project requirements:\n\n*Note*: If you already have these dependencies installed, you might have to run the flex recipe only:\n\n```\ncomposer recipes\ncomposer recipes:install THE/DEPENDENCY --force -v\n```\n\n### composer audit (security-advisories)\n\n```yaml \n# grumphp.yaml\nparameters:\n    run_security_advisories: true\n```\n\nYou might want to alter the default composer audit configuration in your local composer.json file.\n\nFor example if you don't want to fail CI on usage of abandoned packages:\n\n```json\n{\n    \"config\": {\n        \"audit\": {\n            \"abandoned\": \"report\"\n        }\n    }\n}\n```\n\n[See official docs for more information.](https://getcomposer.org/doc/06-config.md#audit)\n\n### phpstan/phpstan\n\n```bash\ncomposer require --dev phpstan/phpstan phpstan/extension-installer symplify/phpstan-rules\n```\n\n```yaml \n# grumphp.yaml\nparameters:\n    run_phpstan: true\n```\n\n### vimeo/psalm\n\n```bash\ncomposer require --dev vimeo/psalm psalm/plugin-symfony \n```\n\n```yaml \n# grumphp.yaml\nparameters:\n    run_psalm: true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpro%2Fsymfony-conventions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpro%2Fsymfony-conventions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpro%2Fsymfony-conventions/lists"}