{"id":19030000,"url":"https://github.com/padosoft/hooks","last_synced_at":"2026-05-16T15:35:22.586Z","repository":{"id":57035070,"uuid":"52973066","full_name":"padosoft/hooks","owner":"padosoft","description":"padosoft git hooks","archived":false,"fork":false,"pushed_at":"2017-08-09T09:09:05.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-02T03:44:21.614Z","etag":null,"topics":["git","git-hooks","hooks"],"latest_commit_sha":null,"homepage":null,"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/padosoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-02T15:20:31.000Z","updated_at":"2017-08-09T09:09:06.000Z","dependencies_parsed_at":"2022-08-24T06:40:09.818Z","dependency_job_id":null,"html_url":"https://github.com/padosoft/hooks","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Fhooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Fhooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Fhooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Fhooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/padosoft","download_url":"https://codeload.github.com/padosoft/hooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240079638,"owners_count":19744725,"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","git-hooks","hooks"],"created_at":"2024-11-08T21:16:05.677Z","updated_at":"2026-05-02T14:30:18.990Z","avatar_url":"https://github.com/padosoft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hooks\nPadosoft git hooks\n\n[![Latest Version on Packagist][ico-version]][link-packagist]\n[![Software License][ico-license]](LICENSE.md)\n[![Total Downloads][ico-downloads]][link-downloads]\n\nTable of Contents\n=================\n\n  * [hooks](#hooks)\n  * [Table of Contents](#table-of-contents)\n  * [Prerequisites](#prerequisites)\n  * [Install](#install)\n  * [Usage](#usage)\n  * [Example](#example)\n  * [Screenshots](#screenshots)\n  * [Change Log](#change-log)\n  * [Testing](#testing)\n  * [Contributing](#contributing)\n  * [Security](#security)\n  * [API Documentation](#api-documentation)\n  * [Credits](#credits)\n  * [About Padosoft](#about-padosoft)\n  * [License](#license)\n\n# Prerequisites\n\n# Install\n\nThis package can be installed through Composer.\n\n``` bash\ncomposer require padosoft/hooks\n```\n\nIf you install in a laravel project add in config-\u003eapp.php the following value in service providers array:\n\nPadosoft\\Hooks\\HooksServiceProvider::class,\n\nthen use php artisan vendor:publish\n\nIn a non-laravel project you must copy the .php_cs file from vendor/padosoft/hooks/src/config to the root of project,\nand the pre-commit file from vendor/padosoft/hooks/src/config to .git/hooks folder.\nIf you want customize the static-review operation create hooks folder in the root of project then copy pre-commit.php\nfile from vendor/padosoft/static-review/src/config/pre-commit.php.\n\nBe careful in a linux or mac environment change\n\nphp.exe \"vendor/padosoft/hooks/src/php-cs-fix.php\"\nphp.exe \"vendor/padosoft/hooks/src/static-review-pre-commit.php\"\n\nin the .git/hooks/pre-commit file to\n\nphp \"vendor/padosoft/hooks/src/php-cs-fix.php\"\nphp \"vendor/padosoft/hooks/src/static-review-pre-commit.php\"\n\n# Usage\n\nPre-commit git hook is invoked by git commit. Exiting with non-zero status from this script causes the git commit to abort.\nCan be bypassed with --no-verify option.\n\n\n## Example\n\n# Screenshots\n\n# Change Log\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n# Testing\n\n# Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.\n\n# Security\n\nIf you discover any security related issues, please email  instead of using the issue tracker.\n\n# API Documentation\n\n# Credits\n\n- [Padosoft](https://github.com/padosoft)\n- [All Contributors](../../contributors)\n\n# About Padosoft\nPadosoft is a software house based in Florence, Italy. Specialized in E-commerce and web sites.\n\n# License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n\n[ico-version]: https://img.shields.io/packagist/v/padosoft/hooks.svg?style=flat-square\n[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/packagist/dt/padosoft/hooks.svg?style=flat-square\n\n[link-packagist]: https://packagist.org/packages/padosoft/hooks\n[link-downloads]: https://packagist.org/packages/padosoft/hooks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadosoft%2Fhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpadosoft%2Fhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadosoft%2Fhooks/lists"}