{"id":19536372,"url":"https://github.com/hoangphidev/pre-commit","last_synced_at":"2025-04-26T14:36:33.384Z","repository":{"id":59731851,"uuid":"538811214","full_name":"hoangphidev/pre-commit","owner":"hoangphidev","description":"Laravel Pre-commit","archived":false,"fork":false,"pushed_at":"2023-06-12T04:49:29.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-09T09:37:55.527Z","etag":null,"topics":["git-pre-commit","laravel-package","laravel-standard","php-codesniffer","php-standard","pre-commit-hooks"],"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/hoangphidev.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":"2022-09-20T04:38:08.000Z","updated_at":"2023-04-27T04:31:55.000Z","dependencies_parsed_at":"2022-09-21T01:41:23.309Z","dependency_job_id":null,"html_url":"https://github.com/hoangphidev/pre-commit","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangphidev%2Fpre-commit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangphidev%2Fpre-commit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangphidev%2Fpre-commit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoangphidev%2Fpre-commit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoangphidev","download_url":"https://codeload.github.com/hoangphidev/pre-commit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224037123,"owners_count":17245173,"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":["git-pre-commit","laravel-package","laravel-standard","php-codesniffer","php-standard","pre-commit-hooks"],"created_at":"2024-11-11T02:22:34.301Z","updated_at":"2024-11-11T02:22:35.332Z","avatar_url":"https://github.com/hoangphidev.png","language":"PHP","readme":"# Laravel Pre-commit\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/hoangphi/pre-commit.svg?style=flat-square)](https://packagist.org/packages/hoangphi/pre-commit)\n[![Total Downloads](https://img.shields.io/packagist/dt/hoangphi/pre-commit.svg?style=flat-square)](https://packagist.org/packages/hoangphi/pre-commit)\n\n## Installation\n\n```bash\ncomposer require hoangphi/pre-commit\n```\n\nPublish the configuration:\n\n```bash\nphp artisan vendor:publish --provider=\"HoangPhi\\PreCommit\\Providers\\PreCommitServiceProvider\" --tag=config\n```\n\n### Config pre-commit hooks\n```bash\nphp artisan pre-commit:install\n```\n\n- Create PSR default config `phpcs.xml` in your root project.\n\n```bash\nphp artisan pre-commit:create-phpcs\n```\n\n- Added all changed files to git stage and run test manually.\n\n```bash\nphp artisan pre-commit:check\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoangphidev%2Fpre-commit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoangphidev%2Fpre-commit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoangphidev%2Fpre-commit/lists"}