{"id":19852594,"url":"https://github.com/onramplab/onr-phpcs-laravel","last_synced_at":"2026-02-07T13:31:58.573Z","repository":{"id":57031835,"uuid":"403582600","full_name":"OnrampLab/onr-phpcs-laravel","owner":"OnrampLab","description":"The Laravel Coding Standards","archived":false,"fork":false,"pushed_at":"2022-09-28T08:38:52.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-02-11T14:46:56.027Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OnrampLab.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}},"created_at":"2021-09-06T10:38:09.000Z","updated_at":"2022-09-28T08:38:50.000Z","dependencies_parsed_at":"2022-08-23T20:50:15.927Z","dependency_job_id":null,"html_url":"https://github.com/OnrampLab/onr-phpcs-laravel","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnrampLab%2Fonr-phpcs-laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnrampLab%2Fonr-phpcs-laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnrampLab%2Fonr-phpcs-laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnrampLab%2Fonr-phpcs-laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OnrampLab","download_url":"https://codeload.github.com/OnrampLab/onr-phpcs-laravel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241241473,"owners_count":19932756,"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-12T14:03:37.745Z","updated_at":"2026-02-07T13:31:58.532Z","avatar_url":"https://github.com/OnrampLab.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# OnrampLab's PHPCS Configuration\n\nWe use this package to set up a consistent PHPCS configuration across my Laravel projects. The ruleset is based on [@emielmolenaar ruleset](https://github.com/emielmolenaar/phpcs-laravel).\n\nIf you wish to use this configuration in your project, install it using composer:\n\n`composer require --dev onramplab/onr-phpcs-laravel`\n\nAfterwards, run `php vendor/bin/phpcs -i` to verify that `onr-phpcs-laravel` is listed as an installed ruleset.\n\nYou may now use the ruleset like so:\n\n`php vendor/bin/phpcs --standard=onr-phpcs-laravel app/`\n\nOr you can create a `phpcs.xml` file in your root folder with following example:\n\n```xml\n\u003c?xml version=\"1.0\"?\u003e\n\u003cruleset name=\"Onramplab Laravel Standards\"\u003e\n\n    \u003cdescription\u003eThe Laravel Coding Standards\u003c/description\u003e\n\n    \u003crule ref=\"onr-phpcs-laravel\"/\u003e\n\n    \u003cfile\u003eapp\u003c/file\u003e\n    \u003cfile\u003econfig\u003c/file\u003e\n    \u003cfile\u003epublic\u003c/file\u003e\n    \u003cfile\u003eresources\u003c/file\u003e\n    \u003cfile\u003eroutes\u003c/file\u003e\n    \u003cfile\u003etests\u003c/file\u003e\n\n\u003c/ruleset\u003e\n```\n\nContributions welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonramplab%2Fonr-phpcs-laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonramplab%2Fonr-phpcs-laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonramplab%2Fonr-phpcs-laravel/lists"}