PHPackages                             graham-campbell/phpspec-skip-example-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. [Testing &amp; Quality](/categories/testing)
4. /
5. graham-campbell/phpspec-skip-example-extension

ActiveLibrary[Testing &amp; Quality](/categories/testing)

graham-campbell/phpspec-skip-example-extension
==============================================

Skip your PhpSpec examples through annotations

v5.1.1(4y ago)04.6k↓50%3MITPHPPHP ^7.1 || ^8.0

Since Mar 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/GrahamCampbell/Phpspec-Skip-Example-Extension)[ Packagist](https://packagist.org/packages/graham-campbell/phpspec-skip-example-extension)[ RSS](/packages/graham-campbell-phpspec-skip-example-extension/feed)WikiDiscussions 5.1 Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (19)Used By (3)

Phpspec Skip Example Extension
==============================

[](#phpspec-skip-example-extension)

This Phpspec extension allows to skip example through user-friendly annotations.

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

[](#installation)

```
$ composer require "graham-campbell/phpspec-skip-example-extension:^5.1"

```

Configuration
-------------

[](#configuration)

You can now activate the extension by creating a `phpspec.yml` file at the root of your project:

```
extensions:
    Akeneo\SkipExampleExtension: ~
```

Usage
-----

[](#usage)

### @require

[](#require-)

Skips all the spec example if the class or interface is not available

```
/**
 * @require Vendor\Builder\ToolInterface
 */
class BridgeBuilderSpec extends ObjectBehavior
{
    // Will be skipped if the Vendor\Builder\ToolInterface interface does not exist
    function it_builds_a_brige()
    {
    }

    // Will be skipped if the Vendor\Builder\ToolInterface interface does not exist
    function it_builds_the_road()
    {
    }

    //...
}
```

Contributions
-------------

[](#contributions)

Feel free to contribute to this extension if you find some interesting ways to improve it!

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~154 days

Recently: every ~116 days

Total

19

Last Release

1674d ago

Major Versions

v1.2.0 → v2.0.02016-07-21

2.0.x-dev → v3.0.0-alpha12017-07-10

v3.0.0 → 4.0.x-dev2018-11-13

v4.0.0 → 5.0.x-dev2020-07-10

PHP version history (2 changes)5.0.x-devPHP ^7.1

v5.1.0PHP ^7.1 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d95eb26cb8f3919bb5ca3b6d823daeabbf259663778a970349b245c580713c8e?d=identicon)[graham-campbell](/maintainers/graham-campbell)

---

Top Contributors

[![nidup](https://avatars.githubusercontent.com/u/2104359?v=4)](https://github.com/nidup "nidup (21 commits)")[![gquemener](https://avatars.githubusercontent.com/u/668604?v=4)](https://github.com/gquemener "gquemener (10 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (4 commits)")[![pamil](https://avatars.githubusercontent.com/u/1897953?v=4)](https://github.com/pamil "pamil (3 commits)")[![BitOne](https://avatars.githubusercontent.com/u/2151567?v=4)](https://github.com/BitOne "BitOne (2 commits)")[![damien-carcel](https://avatars.githubusercontent.com/u/5039018?v=4)](https://github.com/damien-carcel "damien-carcel (2 commits)")[![stloyd](https://avatars.githubusercontent.com/u/67402?v=4)](https://github.com/stloyd "stloyd (1 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (1 commits)")

---

Tags

hacktoberfest

### Embed Badge

![Health badge](/badges/graham-campbell-phpspec-skip-example-extension/health.svg)

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

###  Alternatives

[bossa/phpspec2-expect

Helper that decorates any SUS with a phpspec lazy object wrapper

741.8M87](/packages/bossa-phpspec2-expect)[benconstable/phpspec-laravel

Test your Laravel applications with PhpSpec

144347.1k15](/packages/benconstable-phpspec-laravel)[akeneo/phpspec-skip-example-extension

Skip your PhpSpec examples through annotations

34978.5k11](/packages/akeneo-phpspec-skip-example-extension)[friends-of-phpspec/phpspec-code-coverage

Generate Code Coverage reports for PhpSpec tests

202.6M125](/packages/friends-of-phpspec-phpspec-code-coverage)[ciaranmcnulty/phpspec-typehintedmethods

Extension for phpspec to enhance generated methods

3089.3k31](/packages/ciaranmcnulty-phpspec-typehintedmethods)[rmiller/behat-spec

Behat and PhpSpec integration

5321.7k8](/packages/rmiller-behat-spec)

PHPackages © 2026

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