peridot-php/leo
Leo is a lightweight assertion library for PHP and the Peridot BDD framework. It provides a fluent expect(...)->to syntax with readable matchers for equality, types, arrays, exceptions, and more, helping you write concise, expressive tests without heavy dependencies.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| peridot-php/peridot | 0.88 | Peridot is a lightweight, extensible PHP testing framework with a descriptive BDD-style syntax. Write expressive specs using describe/it blocks, custom DSLs, and plugins, with clear reporting for readable, maintainable test suites. | 324 | — | 28 | — | 7 | 4.5 | 2.3 | MIT | 9 years ago |
|
| expect/peridot-expect-plugin | 0.86 | Peridot plugin that adds Expect-style assertions to your specs, so you can write expressive expect($value)->to... checks inside Peridot tests. Install with Composer and enable the plugin in your Peridot configuration for readable, behavior-driven PHP testing. | 1 | 1 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| leovie/php-construct-normalize | 0.84 | A small PHP utility for normalizing constructor arguments so objects can be built consistently from arrays, configuration, or user input. It resolves defaults, maps named parameters, and validates required values before instantiation, making factories, DI containers, and hydration code simpler and l... | 0 | 0 | 0 | 54 | 0 | 0.5 | 24.0 | BSD-3-Clause | 4 years ago | |
| php-parallel-lint/php-console-highlighter | 0.84 | Highlight PHP source code in the terminal with readable, colorized syntax. php-console-highlighter works with ConsoleColor and can highlight whole files or snippets—ideal for CLI tools, linters, and test output to quickly spot errors and context. | 86 | 86 | 6 | 1M | 0 | 1.7 | 56.4 | MIT | 4 years ago | |
| marcin-orlowski/phpunit-extra-asserts | 0.84 | A collection of extra assertions for PHPUnit that helps make test suites more expressive and readable. Add clearer, reusable checks for common test scenarios, reduce custom assertion code, and get more informative failures in PHPUnit-based projects. | 3 | 3 | 0 | 623 | 0 | 0.0 | 30.3 | MIT | 2 years ago | |
| sebastian/peek-and-poke | 0.84 | sebastian/peek-and-poke is a small PHP utility that uses reflection to peek at and poke into objects. It lets you read and write private and protected properties, making it handy for tests that need to inspect or set up object state without changing production code. | 36 | 34 | 8 | 117 | 1 | 0.3 | 6.0 | NOASSERTION | — | |
| robiningelbrecht/phpunit-pretty-print | 0.84 | A PHPUnit result printer that transforms default test output into clean, colorful, readable reports. See progress, failures, and timing at a glance, with less noise and more useful detail during every test run. Easy to install and configure via phpunit.xml. | 77 | — | 2 | — | 1 | 8.4 | — | MIT | 7 months ago |
|
| way/phpunit-wrappers | 0.84 | way/phpunit-wrappers provides lightweight PHPUnit wrapper utilities for Laravel and PHP projects, helping you write cleaner, more readable tests with less boilerplate. Use it to simplify assertions, test setup, and common testing patterns without changing your existing PHPUnit workflow. | 45 | 47 | 2 | 66 | 0 | 0.3 | 5.3 | — | — | |
| hamcrest/hamcrest-php | 0.84 | Official PHP port of Hamcrest, the matching library originally written for Java. Provides readable matchers like equalTo, containsString and is for expressive assertions in PHP tests, with global proxy functions and MatcherAssert support. | 6,981 | 7,014 | 47 | 11M | 10 | 44.1 | 53.7 | NOASSERTION | 4 months ago | |
| cloak/peridot-cloak-plugin | 0.84 | A Peridot plugin that brings Cloak into your PHP test suite, letting you wire up its features directly from your specs with minimal configuration. Install via Composer, enable the plugin, and keep your tests readable and expressive. | 0 | 0 | 0 | 8 | 0 | 0.0 | 9.3 | MIT | 11 years ago | |
| graham-campbell/testbench-core | 0.84 | Laravel TestBench Core by Graham Campbell provides reusable testing functionality for Laravel packages and applications, supporting PHPUnit 9-12 and Laravel 8-13 on PHP 7.4-8.5. | 0 | 17 | — | 5K | — | 9.0 | 51.6 | — | — | |
| holyshared/robo-peridot | 0.83 | Robo task helpers for the Peridot PHP testing framework. Adds Peridot spec-running commands to your RoboFile so you can execute and manage test specs directly from your Robo task runner workflow. | 2 | 2 | 0 | 0 | 0 | 0.0 | — | MIT | 11 years ago | |
| lastdragon-ru/phpunit-extensions | 0.83 | PHPUnit extensions for PHP projects, adding extra test utilities and helpers to streamline assertions, fixtures, and test setup. Designed to integrate cleanly with PHPUnit and improve developer productivity in automated testing workflows. | 0 | 0 | 0 | 28 | 0 | 0.0 | 20.2 | MIT | — | |
| peridot-php/peridot-concurrency | 0.83 | Run Peridot specs concurrently with this plugin for the Peridot PHP testing framework. It speeds up test suites by executing specs in parallel, with configurable concurrency and process handling for faster feedback. | 12 | — | 1 | — | 1 | 0.2 | — | MIT | — |
|
| gecko-packages/gecko-php-unit | 0.83 | Gecko PHP Unit extends PHPUnit with fluent helpers and assertions for testing Laravel applications. It streamlines common tasks like database, HTTP, and file checks, cutting boilerplate so your test suites stay cleaner, more readable, and easier to maintain. | 136 | 136 | 4 | 9K | 0 | 0.9 | 25.2 | MIT | 8 years ago | |
| yoanm/php-unit-extended | 0.83 | A PHPUnit extension for PHP that adds extra test helpers and assertions, reducing boilerplate and making unit tests clearer and easier to maintain alongside PHPUnit's built-in features. | 0 | 0 | 0 | 68 | 0 | 0.1 | 25.4 | MIT | 3 years ago | |
| draw/tester | 0.83 | Tools for testing PHP apps: DataTester wraps PHPUnit assertions with a fluent, path-based API for arrays/objects. Includes PHPUnit extensions like CarbonReset to reset Carbon state between tests and SetUpAutowire to autowire test properties via attributes. | 0 | 0 | 0 | 1K | 0 | 0.0 | 43.0 | MIT | — | |
| phpstan/phpstan-phpunit | 0.83 | PHPStan extension for PHPUnit that improves mock object and assert type inference, supports MockBuilder and phpDoc intersections, and adds optional strict rules for more precise, framework-aware static analysis. | 546 | 550 | 58 | 6M | 34 | 44.3 | 79.3 | MIT | 1 month ago | |
| sebastian/object-reflector | 0.83 | sebastian/object-reflector lets you reflect an object's properties, including inherited, private, and protected ones. Install it via Composer to inspect and access object state that PHP's default reflection utilities don't easily expose. | 6,271 | 6,277 | 3 | 25M | 1 | 41.8 | 56.4 | BSD-3-Clause | 2 months ago | |
| michaelmoussa/php-coverage-checker | 0.83 | A PHP tool that reads Clover-format code coverage XML and fails the build when coverage drops below a configured threshold. Drop it into CI to enforce minimum coverage on every run. | 24 | — | 8 | — | 0 | 0.2 | — | MIT | 11 years ago |
|
How can I help you explore Laravel packages today?