PHPackages                             weew/helpers-phpspec - 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. weew/helpers-phpspec

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

weew/helpers-phpspec
====================

Basic helpers for phpspec.

v1.0.3(9y ago)022714MITPHP

Since Mar 9Pushed 9y ago1 watchersCompare

[ Source](https://github.com/weew/helpers-phpspec)[ Packagist](https://packagist.org/packages/weew/helpers-phpspec)[ RSS](/packages/weew-helpers-phpspec/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (3)Versions (5)Used By (14)

Basic helpers to work with PHPSpec
==================================

[](#basic-helpers-to-work-with-phpspec)

[![Build Status](https://camo.githubusercontent.com/6676a6cac08bb0673c62c5456705cb8ecab7fe5e1818f3403dc6a5a83709f673/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f776565772f68656c706572732d706870737065632e737667)](https://travis-ci.org/weew/helpers-phpspec)[![Test Coverage](https://camo.githubusercontent.com/d74445de34b8626c3138a128c28bfcc9661ed203b79f59b77a6fa6a43e77b36f/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f776565772f68656c706572732d706870737065632e737667)](https://coveralls.io/github/weew/helpers-phpspec)[![Version](https://camo.githubusercontent.com/8e444301e0fa3e42c1e5a021d4a2a3e5c0fbf8320ff479889fb9e5affa77801e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776565772f68656c706572732d706870737065632e737667)](https://packagist.org/packages/weew/helpers-phpspec)[![Licence](https://camo.githubusercontent.com/121536d707c2c1d1a4f8f1b0fee8642655e4d37b2179d8c09bf51733ec3c37b8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f776565772f68656c706572732d706870737065632e737667)](https://packagist.org/packages/weew/helpers-phpspec)

Table of contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Introduction](#introduction)
- [Functions](#functions)
    - [it](#it)

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

[](#installation)

`composer require weew/helpers-phpspec`

Introduction
------------

[](#introduction)

This tiny library provides various helper functions useful for work with phpspec.

Functions
---------

[](#functions)

#### it

[](#it)

Wrap a value into a Subject to allow expectations to be made outside of the phpspec test suite / context.

`Bossa\PhpSpec\Expect\Subject it(mixed $subject)`

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Total

4

Last Release

3630d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/10b2b854b5829dd13a15967c000ed2119b5faef67aca24d94c653c8ac550d85e?d=identicon)[weew](/maintainers/weew)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/weew-helpers-phpspec/health.svg)

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

PHPackages © 2026

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