{"id":28374239,"url":"https://github.com/gocodebox/lifterlms-cs","last_synced_at":"2025-06-25T18:30:39.502Z","repository":{"id":47158836,"uuid":"153487749","full_name":"gocodebox/lifterlms-cs","owner":"gocodebox","description":"PHP_CodeSniffer rules for LifterLMS projects","archived":false,"fork":false,"pushed_at":"2025-05-23T00:01:47.000Z","size":148,"stargazers_count":4,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"trunk","last_synced_at":"2025-06-05T20:50:35.376Z","etag":null,"topics":["elearning","hacktoberfest","lifterlms","lms","php","phpcs","wordpress"],"latest_commit_sha":null,"homepage":"","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/gocodebox.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":"2018-10-17T16:18:47.000Z","updated_at":"2025-05-23T00:01:50.000Z","dependencies_parsed_at":"2022-09-05T08:01:15.013Z","dependency_job_id":"adde86e9-45a5-4303-ac8a-8a43209e26b8","html_url":"https://github.com/gocodebox/lifterlms-cs","commit_stats":{"total_commits":43,"total_committers":5,"mean_commits":8.6,"dds":0.6046511627906976,"last_synced_commit":"f5f83d7b47622438153815c54ffaff3859ae78ee"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gocodebox/lifterlms-cs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocodebox%2Flifterlms-cs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocodebox%2Flifterlms-cs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocodebox%2Flifterlms-cs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocodebox%2Flifterlms-cs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gocodebox","download_url":"https://codeload.github.com/gocodebox/lifterlms-cs/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocodebox%2Flifterlms-cs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261930268,"owners_count":23231846,"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":["elearning","hacktoberfest","lifterlms","lms","php","phpcs","wordpress"],"created_at":"2025-05-29T21:12:03.444Z","updated_at":"2025-06-25T18:30:39.497Z","avatar_url":"https://github.com/gocodebox.png","language":"PHP","readme":"LifterLMS Coding Standards\n==========================\n\nLifterLMS Coding Standards (LifterLMS-CS) is a project with rulesets for code style and quality intended for use in LifterLMS projects.\n\n\n## Installation\n\nTo include in a project require as a development dependency:\n\n`composer require lifterlms/lifterlms-cs:dev-trunk --dev`\n\nIf you are upgrading from the old version, be sure to remove any references to manually setting the `installed_paths`as they are now automatically set by Composer.\n\n## Using PHPCS \u0026 PHPCBF\n\nAccess the PHPCS execultable via: `./vendor/bin/phpcs`\nCheck for errors only: `./vendor/bin/phpcs --error-severity=1 --warning-severity=6`\nFix errors via PHPCBF: `./vendor/bin/phpcbf`\n\n## Predefined scripts\n\nThe following scripts can be added to your `composer.json` file for easy access to thes scripts \u0026 to ensure configurations are automatically set during package installation and updates.\n\n```json\n\"scripts\": {\n    \"check-cs\": [\n        \"\\\"vendor/bin/phpcs\\\" --colors\"\n    ],\n    \"check-cs-errors\": [\n        \"\\\"vendor/bin/phpcs\\\" --colors --error-severity=1 --warning-severity=6\"\n    ],\n    \"fix-cs\": [\n        \"\\\"vendor/bin/phpcbf\\\"\"\n    ]\n}\n```\n\n## Developing LifterLMS-CS\n\nTo include in a project and make changes to the LifterLMS-CS project itself:\n\nAdd to your `composer.json` file with the `@dev` tag and reference your local copy of this repository in the repositories block:\n\n```json\n\"require-dev\": {\n    \"lifterlms/lifterlms-cs\": \"@dev\"\n},\n\"repositories\": [\n    {\n        \"type\": \"path\",\n        \"url\": \"/absolute/path/to/lifterlms-cs\"\n    }\n]\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocodebox%2Flifterlms-cs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgocodebox%2Flifterlms-cs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocodebox%2Flifterlms-cs/lists"}