{"id":23490335,"url":"https://github.com/justijndepover/php-check","last_synced_at":"2025-04-14T17:57:51.515Z","repository":{"id":57003241,"uuid":"292799428","full_name":"justijndepover/php-check","owner":"justijndepover","description":"Check your code for possible syntax errors and bugs","archived":false,"fork":false,"pushed_at":"2021-05-28T08:57:38.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T17:57:49.854Z","etag":null,"topics":["php","php-cs-fixer","phpunit"],"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/justijndepover.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-04T08:54:23.000Z","updated_at":"2021-05-28T08:56:10.000Z","dependencies_parsed_at":"2022-08-21T14:10:58.249Z","dependency_job_id":null,"html_url":"https://github.com/justijndepover/php-check","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justijndepover%2Fphp-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justijndepover%2Fphp-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justijndepover%2Fphp-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justijndepover%2Fphp-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justijndepover","download_url":"https://codeload.github.com/justijndepover/php-check/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248933350,"owners_count":21185460,"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":["php","php-cs-fixer","phpunit"],"created_at":"2024-12-25T00:25:34.985Z","updated_at":"2025-04-14T17:57:51.495Z","avatar_url":"https://github.com/justijndepover.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Check\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/justijndepover/php-check.svg?style=flat-square)](https://packagist.org/packages/justijndepover/php-check)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)\n[![Total Downloads](https://img.shields.io/packagist/dt/justijndepover/php-check.svg?style=flat-square)](https://packagist.org/packages/justijndepover/php-check)\n\n## Installation\nYou can install the package with composer\n```sh\ncomposer require justijndepover/php-check --dev\n```\n\n## First usage\nAfter installing the package, you should add a php-cs-fixer config file to your project.\n\nThe script will automatically detect the presence of the file. If none exists, you will be prompted to install one.\n```sh\n./vendor/bin/php-check\n```\n\n## Usage\nThe gist of the package is to have a global script that checks your code for possible syntax errors and bugs.\nRun this script before you push your changes.\n\nThis package provides:\n- a global set of php-cs-fixer rules\n- an option to check your code for possible syntax errors\n- an option to fix your syntax errors\n- an option to run phpunit\n- an option to run all checks\n\nThe script is interactive, so you only have to run it.\n\n```sh\n./vendor/bin/php-check\n```\n\n## Related repositories\n- [timacdonald/php-style](https://github.com/timacdonald/php-style): inspiration for this package\n\n## Security\nIf you find any security related issues, please open an issue or contact me directly at [justijndepover@gmail.com](justijndepover@gmail.com).\n\n## Contribution\nIf you wish to make any changes or improvements to the package, feel free to make a pull request.\n\n## License\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustijndepover%2Fphp-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustijndepover%2Fphp-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustijndepover%2Fphp-check/lists"}