PHPackages                             michaelszymczak/check-check-in - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. michaelszymczak/check-check-in

ActiveLibrary

michaelszymczak/check-check-in
==============================

1.0.x-dev(11y ago)11.7k1MITPHP

Since Jun 4Pushed 11y ago1 watchersCompare

[ Source](https://github.com/michaelszymczak/CheckCheckIn)[ Packagist](https://packagist.org/packages/michaelszymczak/check-check-in)[ Docs](https://github.com/michaelszymczak/CheckCheckIn)[ RSS](/packages/michaelszymczak-check-check-in/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

CheckCheckIn
============

[](#checkcheckin)

[![Build Status](https://camo.githubusercontent.com/e9abcc27eef3fa74cab7c89531a584c4f077041c3af57339d7297cb020f8800c/68747470733a2f2f7472617669732d63692e6f72672f6d69636861656c737a796d637a616b2f436865636b436865636b496e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/michaelszymczak/CheckCheckIn)

Description
-----------

[](#description)

Simple, language-agnostic, customizable app that helps developers validate modified files (using static code analysis tools etc.). Can be easily integrated with a git as a pre-commit hook.

Requirements
------------

[](#requirements)

- Linux shell (e.g. bash)
- Git
- PHP 5.3 and above

Installation
------------

[](#installation)

Use the composer to install the project as a dev dependency and copy the example script:

```
cd YOUR_PROJECT_DIRECTORY
curl -sS https://getcomposer.org/installer | php
php composer.phar require "michaelszymczak/check-check-in 1.*@dev" --dev

cp vendor/michaelszymczak/check-check-in/pre-commit.sample pre-commit

```

Usage
-----

[](#usage)

The tool works only inside git repositories. If you don't have one, you can easily create it in the current project's directory:

```
git init .

```

**Edit the pre-commit file and modify the existing template** by configuring paths to code analysis tools of your choice. The syntax is quite simple - #### is always replaced by the file path. Given foo.php and path/to/bar.php are modified and the tool is configured as follows:

```
'PHP Lint' => 'php -l ####'

```

When you run the script

```
./pre-commit --modified

```

Then the validator runs `php -l foo.php` and `php -l path/to/bar.php`, print violations and a summary screen.

Integration with git
--------------------

[](#integration-with-git)

You can easily register this tool as the git pre-commit hook:

```
cp pre-commit .git/hooks/pre-commit

```

Remember that the content of the target pre-commit file will be overwritten, so check if it file already exists. From now on, each time you try to commit some files the tool checks them and rejects the commit if the rules violation has been found.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4361d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c678cea024d95d0753c0e531298964f0fbe81c28cea9e446e326ba50d29a46c8?d=identicon)[michaelszymczak](/maintainers/michaelszymczak)

---

Top Contributors

[![michaelszymczak](https://avatars.githubusercontent.com/u/7302886?v=4)](https://github.com/michaelszymczak "michaelszymczak (59 commits)")[![mszymczak-neducatio](https://avatars.githubusercontent.com/u/1135017?v=4)](https://github.com/mszymczak-neducatio "mszymczak-neducatio (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/michaelszymczak-check-check-in/health.svg)

```
[![Health](https://phpackages.com/badges/michaelszymczak-check-check-in/health.svg)](https://phpackages.com/packages/michaelszymczak-check-check-in)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
