sebastian/peek-and-poke
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| yoanm/php-unit-extended | 0.89 | 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 | |
| php-mock/php-mock-integration | 0.89 | Integration layer for php-mock, making it easy to use PHP function mocks within popular test frameworks. Helps you stub built-in functions like time(), rand(), and file operations in specific namespaces, enabling reliable, isolated unit tests without touching global state. | 14 | 14 | 6 | 374K | 0 | 8.2 | 57.8 | WTFPL | 9 months ago | |
| phpunit/phpunit-skeleton-generator | 0.89 | PHPUnit Skeleton Generator creates skeleton test classes from existing production code and skeleton class stubs from test cases, helping PHP developers bootstrap PHPUnit tests quickly with less boilerplate. | 0 | 160 | — | 29 | — | 0.0 | 20.4 | — | — | |
| php-mock/php-mock-phpunit | 0.89 | Integrate php-mock with PHPUnit to mock built-in PHP functions (like time(), file_get_contents(), etc.) in a controlled, namespaced way. Ideal for unit tests that need to simulate IO, time, and other global behaviors without changing production code. | 173 | 176 | 20 | 236K | 4 | 28.3 | 51.3 | WTFPL | 1 month ago | |
| php-mock/php-mock | 0.88 | Mock built-in PHP functions like time() or rand() in tests by leveraging PHP’s namespace fallback: define namespaced replacements for unqualified calls. Works in non-global namespaces; supports common test frameworks via integrations (e.g., PHPUnit). | 370 | 375 | 19 | 726K | 3 | 13.0 | 47.8 | WTFPL | 9 months ago | |
| phpstan/phpstan-phpunit | 0.88 | 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 | |
| gecko-packages/gecko-php-unit | 0.88 | 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 | |
| mnapoli/phpunit-easymock | 0.88 | A lightweight bridge between PHPUnit and EasyMock for PHP. Quickly create, replay, and verify mocks from your test cases with minimal boilerplate, helping you write clear unit tests using the familiar EasyMock-style workflow. | 38 | 38 | 4 | 1K | 0 | 4.8 | 20.6 | MIT | 1 year ago | |
| php-mock/php-mock-mockery | 0.87 | Integrates php-mock with Mockery to mock PHP built-in functions in tests. Create namespaced function mocks with PHPMockery::mock() and set expectations/returns, then call Mockery::close(). Supports only unqualified calls; define early if needed. | 39 | 39 | 5 | 78K | 2 | 1.9 | 45.4 | WTFPL | 1 year ago | |
| dave-liddament/php-language-extensions | 0.87 | PHP Language Extensions adds attributes for immutable classes, pure functions, read-only properties, and named parameters, with PHPStan rules to enforce them. Bring stronger safety and clearer APIs to PHP without waiting for new syntax. | 196 | 196 | 5 | 27K | 3 | 3.1 | 30.6 | MIT | 11 months ago | |
| php-extended/placeholder-phpunit | 0.87 | A placeholder package for PHPUnit in php-extended projects. It provides minimal stubs so libraries can reference PHPUnit types without a hard dependency, keeping production installs lean while remaining compatible when PHPUnit is present. | 0 | 0 | — | 805 | — | 0.0 | 40.1 | — | — | |
| graham-campbell/testbench-core | 0.87 | 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 | — | — | |
| soft-passio/api-test-cases | 0.87 | Soft Passio API Test Cases is a Laravel package for defining and running API test cases, letting you assert endpoints, responses, status codes, and auth flows so your JSON APIs stay reliable as they grow. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 6 years ago | |
| robiningelbrecht/phpunit-pretty-print | 0.87 | 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 |
|
| herrera-io/phpunit-test-case | 0.87 | PHPUnit TestCase class and Extras trait that add helpers for common test chores: create/delete temporary files and directories, call protected/private methods, and get/set protected/private properties. Use as a base class or mix into your own test case. | 1 | 1 | 0 | 32 | 0 | 0.0 | 12.0 | MIT | — | |
| way/phpunit-wrappers | 0.87 | 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 | — | — | |
| phpunitgoodpractices/polyfill | 0.86 | Polyfill library for PHPUnit best practices, providing compatibility helpers and shims to keep test suites consistent across PHPUnit versions. Useful for package maintainers aiming for cleaner, more portable tests without forcing specific PHPUnit upgrades. | 11 | 11 | 1 | 8K | 6 | 2.1 | 28.5 | MIT | 3 years ago | |
| ergebnis/test-util | 0.86 | ergebnis/test-util is a lightweight collection of reusable test utilities for PHP projects, designed to reduce boilerplate and make common testing tasks clearer. Useful alongside PHPUnit for writing concise, maintainable tests with consistent helpers and assertions. | 15 | 15 | 2 | 2K | 0 | 0.1 | 20.9 | MIT | 4 years ago | |
| lendable/phpunit-extensions | 0.86 | — | 2 | 2 | 0 | 2K | 1 | 8.6 | 43.2 | MIT | 8 months ago | |
| ta-tikoma/phpunit-architecture-test | 0.86 | Architecture testing for PHP projects using PHPUnit. Define and enforce dependency, namespace, and layer rules (e.g., no forbidden coupling, keep domains isolated) and catch architectural violations in CI with fast, expressive tests. | 110 | 110 | 12 | 9M | 2 | 1.4 | 55.5 | MIT | — |
How can I help you explore Laravel packages today?