{"id":19647316,"url":"https://github.com/ibexa/code-style","last_synced_at":"2025-09-13T01:47:11.829Z","repository":{"id":56988287,"uuid":"433381144","full_name":"ibexa/code-style","owner":"ibexa","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-16T10:11:51.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-08-13T06:44:35.397Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibexa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"zenodo":null}},"created_at":"2021-11-30T10:08:19.000Z","updated_at":"2025-04-16T10:09:20.000Z","dependencies_parsed_at":"2023-11-20T19:45:10.995Z","dependency_job_id":"2fc11c7a-90c6-4567-a68e-0ada7e7ddc98","html_url":"https://github.com/ibexa/code-style","commit_stats":{"total_commits":27,"total_committers":10,"mean_commits":2.7,"dds":0.5925925925925926,"last_synced_commit":"70a39cf63bf829a0d2175b6f88912ea8a24117d1"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/ibexa/code-style","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Fcode-style","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Fcode-style/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Fcode-style/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Fcode-style/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibexa","download_url":"https://codeload.github.com/ibexa/code-style/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibexa%2Fcode-style/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274907864,"owners_count":25371821,"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","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11T14:43:24.403Z","updated_at":"2025-09-13T01:47:11.819Z","avatar_url":"https://github.com/ibexa.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ibexa Code Style\n\nThis package contains Ibexa Coding Standards which are aimed to include plugins  \nfor code style tools, plugins for CI, IDE settings, Git hooks, GitHub templates related  \nto contributions, etc.\n\n## Installation and backward compatibility promise\n\nThis package doesn't follow strict SemVer BC promise due to maintenance reasons.\nBackward compatibility is guaranteed within a single minor release, instead of a major one.\n\nWe recommend installing it using tilde (`~`) composer constraint followed by `X.Y.Z` version number format, e.g.: \n```bash\ncomposer req --dev ibexa/code-style:~2.0.0\n```\nThis ensures that composer will install `v2.0.*` patch releases only.\nMinor releases might receive configuration updates either needed by [Ibexa DXP](https://www.ibexa.co/products)\npackages or other changes forced by PHP CS Fixer package itself. \n\n## Usage\n\n### Third party packages\n\nCreate a `.php-cs-fixer.php` file in your project root directory with the following content:\n\n```php\n\u003c?php\n\n$factory = new Ibexa\\CodeStyle\\PhpCsFixer\\InternalConfigFactory();\n\n// You can omit the call below if you want Ibexa ruleset with no custom rules\n$factory-\u003ewithRules([\n    // Your rules go here\n]);\n$config = $factory-\u003ebuildConfig();\n$config-\u003esetFinder(\n    PhpCsFixer\\Finder::create()\n        -\u003ein(__DIR__ . '/src')\n        -\u003ein(__DIR__ . '/tests')\n        -\u003efiles()-\u003ename('*.php')\n);\n\nreturn $config;\n```\n\n### Ibexa packages\n\nCreate a `.php-cs-fixer.php` file in your project root directory with the following content:\n\n```php\n\u003c?php\n\nreturn Ibexa\\CodeStyle\\PhpCsFixer\\InternalConfigFactory::build()\n    -\u003esetFinder(\n        PhpCsFixer\\Finder::create()\n            -\u003ein(__DIR__ . '/src')\n            -\u003ein(__DIR__ . '/tests')\n            -\u003efiles()-\u003ename('*.php')\n    )\n;\n```\n\n## FAQ\n\nSee [FAQ](doc/FAQ.md) for common questions about contributing to Ibexa-related packages.\n\n## COPYRIGHT\n\nCopyright (C) 1999-2025 Ibexa AS (formerly eZ Systems AS). All rights reserved.\n\n## LICENSE\n\nThis source code is available separately under the following licenses:\n\nA - Ibexa Business Use License Agreement (Ibexa BUL),\nversion 2.4 or later versions (as license terms may be updated from time to time)\nIbexa BUL is granted by having a valid Ibexa DXP (formerly eZ Platform Enterprise) subscription,\nas described at: https://www.ibexa.co/product\nFor the full Ibexa BUL license text, please see:\n- LICENSE-bul file placed in the root of this source code, or\n- https://www.ibexa.co/software-information/licenses-and-agreements (latest version applies)\n\nAND\n\nB - GNU General Public License, version 2\nGrants an copyleft open source license with ABSOLUTELY NO WARRANTY. For the full GPL license text, please see:\n- LICENSE file placed in the root of this source code, or\n- https://www.gnu.org/licenses/old-licenses/gpl-2.0.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibexa%2Fcode-style","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibexa%2Fcode-style","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibexa%2Fcode-style/lists"}