PHPackages                             phpspec/symfony2-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. phpspec/symfony2-extension

AbandonedArchivedLibrary

phpspec/symfony2-extension
==========================

Symfony2 extension for phpspec

275.8k7[4 issues](https://github.com/phpspec/Symfony2Extension/issues)[2 PRs](https://github.com/phpspec/Symfony2Extension/pulls)PHP

Since Apr 24Pushed 11y ago2 watchersCompare

[ Source](https://github.com/phpspec/Symfony2Extension)[ Packagist](https://packagist.org/packages/phpspec/symfony2-extension)[ RSS](/packages/phpspec-symfony2-extension/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Symfony2 Extension \[deprecated\]
=================================

[](#symfony2-extension-deprecated)

[![Build Status](https://camo.githubusercontent.com/3b6bc9f826ac1a910d6b1b4e64bd39c6e5e9ba447c8cdd8fde6b8bee6e6f2b03/68747470733a2f2f7472617669732d63692e6f72672f706870737065632f53796d666f6e7932457874656e73696f6e2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/phpspec/Symfony2Extension)

Symfony2 extension for PhpSpec. The extension is pretty much dead. Since we aim on writing code decoupled from the framework, PhpSpec works very well without a special extension for Symfony.

There were only two features provided by this extension - stubbing the container and generating specs in a bundle.

Stubbing the container is a bad practice. The only place we might need to access the container is a controller. It's prefered to register the controller as a service, so stubbing it is not needed.

Placing specs in a bundle is not a recommended way either. It's cleaner to have all specs in a single folder.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/012270929478a287f88353135a39d275db09c1856d344d0245e04df709879262?d=identicon)[jakzal](/maintainers/jakzal)

### Embed Badge

![Health badge](/badges/phpspec-symfony2-extension/health.svg)

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

PHPackages © 2026

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