Catalog Packagist
Back to packageRELEASE DETAILS

0.9.4

Packagist

mockery/mockery

Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.

bddlibrarymockmock objectsmockerystubtddtesttest doubletesting
Published2 Apr 2015
Direct dependencies4
Transitive dependenciesNot calculated

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
php
Environment
{
  "target_kind": "platform",
  "provide_replace": "preserved_as_assertions_not_requirements"
}
>=5.3.2runtime
lib-pcre
Environment
{
  "target_kind": "platform",
  "provide_replace": "preserved_as_assertions_not_requirements"
}
>=7.0runtime
hamcrest/hamcrest-php
Environment
{
  "target_kind": "package_or_virtual",
  "provide_replace": "preserved_as_assertions_not_requirements"
}
~1.1runtime
phpunit/phpunit
Environment
{
  "target_kind": "package_or_virtual",
  "provide_replace": "preserved_as_assertions_not_requirements"
}
~4.0development

Distribution files

1 collected

Repository

PENDING
padraic/mockery

Shared repository data · GitHub

License detected in repository
Not collected

Repository

ACCESSIBLE
mockery/mockery

Shared repository data · GitHub

License detected in repository
BSD-3-Clause
License branch / ref
1.6.x
Last push
18 Oct 2026
Archived
No
Contributor identities
— · partial collection

Public sponsor counts have not been collected. These signals belong to the repository owner.

Downloads & popularity

470count
Gauge · observed snapshots20 Oct 2026
4702350
2026-10-20: 470 · observed 2026-10-20T16:46:54.9379218Z
20 Oct20 Oct

github · 1 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-204702026-10-20T16:46:54.9379218Z

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 13:41 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:9d009324d07db87659a8184c792b4b53e00eb4d09c5eb8f742016b60be243a54

Other collected versions

1.6.1519 Aug1.6.1418 Aug1.6.1315 Aug1.6.1216 May1.6.1121 Mar1.6.1019 MarView all collected versions →