PHPackages                             nick-jones/phpspec-git-extension - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nick-jones/phpspec-git-extension

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nick-jones/phpspec-git-extension
================================

Automatically adds phpspec generated code to git

v1.0.1(10y ago)03971MITPHPPHP &gt;=5.4.0

Since Oct 23Pushed 10y ago1 watchersCompare

[ Source](https://github.com/nick-jones/phpspec-git-extension)[ Packagist](https://packagist.org/packages/nick-jones/phpspec-git-extension)[ RSS](/packages/nick-jones-phpspec-git-extension/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (3)Used By (1)

PhpSpec Git Extension
=====================

[](#phpspec-git-extension)

[![Travis](https://camo.githubusercontent.com/f37a8b9067f4f1e6c5b61ebf01bf8e59f5928e6689afc50cf4bc3872f1947119/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6e69636b2d6a6f6e65732f706870737065632d6769742d657874656e73696f6e2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/nick-jones/phpspec-git-extension)[![Packagist](https://camo.githubusercontent.com/f61b783d099bd8b4bff8634f5dde825a153d276371f965911c980546c92ee894/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e69636b2d6a6f6e65732f706870737065632d6769742d657874656e73696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nick-jones/phpspec-git-extension)[![Minimum PHP Version](https://camo.githubusercontent.com/b52c83f3d45755ebcb1e6863ebb202ab192aaf773424369ffdeedae107f027ef/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e342d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)

This is a quick and simple extension for [phpspec](https://github.com/phpspec/phpspec) that will automatically add generated classes, interfaces, and specifications to git.

This currently wraps the relevant code generation clases to facilitate this. Ultimately it is intended to leverage the changes from [phpspec/phpspec#723](https://github.com/phpspec/phpspec/pull/723) once released.

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

[](#installation)

You can install this extension via [composer](http://getcomposer.org):

`composer require nick-jones/phpspec-git-extension`

You will then need to list this as an extension within your `phpspec.yml`:

```
extensions:
  - PhpSpecExtension\Git\Extension
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Every ~4 days

Total

2

Last Release

3853d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/759dcc9fc48dd4d80afbca495caef56504bcbe4a69ff696ab16e7f1fe57a74c5?d=identicon)[nick-jones](/maintainers/nick-jones)

---

Top Contributors

[![nick-jones](https://avatars.githubusercontent.com/u/350792?v=4)](https://github.com/nick-jones "nick-jones (16 commits)")

---

Tags

gitextensionphpspec

###  Code Quality

TestsBehat

### Embed Badge

![Health badge](/badges/nick-jones-phpspec-git-extension/health.svg)

```
[![Health](https://phpackages.com/badges/nick-jones-phpspec-git-extension/health.svg)](https://phpackages.com/packages/nick-jones-phpspec-git-extension)
```

###  Alternatives

[memio/spec-gen

phpspec extension for better code generation

66204.3k28](/packages/memio-spec-gen)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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