{"id":19134041,"url":"https://github.com/umbrellio/code-style-php","last_synced_at":"2025-05-06T19:26:27.552Z","repository":{"id":34902527,"uuid":"188415946","full_name":"umbrellio/code-style-php","owner":"umbrellio","description":"Php linter setting used in our projects","archived":false,"fork":false,"pushed_at":"2024-05-02T17:07:19.000Z","size":67,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-09-20T00:49:38.989Z","etag":null,"topics":["code-style","easy-coding-standard","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umbrellio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-05-24T12:11:43.000Z","updated_at":"2024-05-02T17:05:31.000Z","dependencies_parsed_at":"2024-05-02T18:38:21.240Z","dependency_job_id":null,"html_url":"https://github.com/umbrellio/code-style-php","commit_stats":{"total_commits":15,"total_committers":7,"mean_commits":2.142857142857143,"dds":0.6666666666666667,"last_synced_commit":"e6bc3bf044b662b6b7e36ee402b192ac74629692"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umbrellio%2Fcode-style-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umbrellio%2Fcode-style-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umbrellio%2Fcode-style-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umbrellio%2Fcode-style-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umbrellio","download_url":"https://codeload.github.com/umbrellio/code-style-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223793184,"owners_count":17203770,"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":["code-style","easy-coding-standard","php"],"created_at":"2024-11-09T06:25:02.517Z","updated_at":"2024-11-09T06:25:02.966Z","avatar_url":"https://github.com/umbrellio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-config-umbrellio\n\nSettings used in [Umbrellio](https://umbrellio.biz) php projects.\n\n---\n\n### Installation\n\nInstall via composer:\n\n```shell\nphp composer.phar require --dev umbrellio/code-style-php\n```\n\nCreate config `ecs.yml`:\n\n```yaml\nimports:\n  - { resource: vendor/umbrellio/code-style-php/umbrellio-cs.yml }\n```\n\nIf major version of [EasyCodingStandard](https://github.com/Symplify/EasyCodingStandard) 9 or higher\ncreate config `ecs.php`:\n\n```php\n\u003c?php\n\ndeclare(strict_types=1);\n\nuse Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;\n\nreturn static function(ContainerConfigurator $containerConfigurator): void {\n    $containerConfigurator-\u003eimport(__DIR__ . '/vendor/umbrellio/code-style-php/umbrellio-cs.php');\n};\n```\n\n---\n\n### Usage\n\nRun in CLI:\n\n```\nvendor/bin/ecs check src --fix --config=ecs.yml\n```\n\nor:\n\n```\nvendor/bin/ecs check src --fix --config=ecs.php\n```\n\n### Dependencies (and Links)\n\n- [EasyCodingStandard](https://github.com/Symplify/EasyCodingStandard) - used library.\n- [code-style](https://github.com/umbrellio/code-style) - linter settings for other languages.\n\n---\n\n## License\n\nReleased under MIT License.\n\n## Contributing\n\n- Fork it ( https://github.com/umbrellio/code-style-php )\n- Create your feature branch (`git checkout -b feature/my-new-feature`)\n- Commit your changes (`git commit -am 'Add some feature'`)\n- Push to the branch (`git push origin feature/my-new-feature`)\n- Create new Pull Request\n\n---\n\n\u003ca href=\"https://github.com/umbrellio/\"\u003e\n\u003cimg style=\"float: left;\" src=\"https://umbrellio.github.io/Umbrellio/supported_by_umbrellio.svg\" alt=\"Supported by Umbrellio\" width=\"439\" height=\"72\"\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumbrellio%2Fcode-style-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumbrellio%2Fcode-style-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumbrellio%2Fcode-style-php/lists"}