jasonmccreary/double
Double is a Laravel package by Jason McCreary for creating test doubles. It lets you swap real services for lightweight, configurable fakes that record method calls and return stubbed responses, keeping your test suite fast and free of heavy mocking boilerplate.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dees040/festing | 0.85 | Festing is a Laravel package that provides handy testing helpers and assertions to speed up writing reliable unit and feature tests. It integrates smoothly with PHPUnit and Laravel's built-in testing tools, keeping your suite clean and expressive. | 36 | — | 0 | — | 0 | 0.2 | — | — | — | |
| robiningelbrecht/phpunit-pretty-print | 0.85 | 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 |
|
| mnapoli/phpunit-easymock | 0.85 | 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 | |
| janmarek/mockista | 0.85 | Mockista is a lightweight mocking library for PHP/Laravel that helps you create and configure test doubles quickly. Define expectations, stub methods, and verify calls with a simple, fluent API to keep unit tests fast, readable, and maintainable. | 29 | 29 | 14 | 248 | 2 | 1.4 | 14.9 | — | — | |
| php-mock/php-mock-phpunit | 0.85 | 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 | |
| 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 | — | — | |
| lendable/phpunit-extensions | 0.84 | — | 2 | 2 | 0 | 2K | 1 | 8.6 | 43.2 | MIT | 8 months ago | |
| sebastian/global-state | 0.84 | Snapshot and restore PHP global state with sebastian/global-state, the standalone component extracted from PHPUnit. Capture globals, superglobals, static properties, and constants for reliable test isolation. | 6,591 | 6,592 | 18 | 24M | 1 | 39.4 | 54.3 | BSD-3-Clause | 5 months ago | |
| php-mock/php-mock-prophecy | 0.84 | Prophecy integration for php-mock lets you mock PHP built-in functions like time, rand, and sleep inside Prophecy test doubles. Define expected behavior for global functions alongside class mocks, making time-dependent code testable without hard dependencies. | 16 | — | 4 | — | 0 | 1.5 | — | WTFPL | 11 months ago |
|
| draw/tester | 0.84 | 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 | — | |
| 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 | — | — | |
| trinity/framework | 0.84 | Trinity Framework is a modular PHP framework for building web applications with Laravel-style conventions, offering routing, dependency injection, and database abstractions on a lightweight core. It aims to simplify scalable app development while remaining compatible with the wider PHP ecosystem. | 2 | 2 | 0 | 2 | 0 | 0.3 | 3.1 | — | 10 years ago | |
| numberninecms/faker | 0.84 | Faker integration for NumberNine CMS: generate realistic fake data for seeding, testing, and development. Convenient helpers and Laravel-friendly configuration make it easy to populate content and models with believable sample records. | 0 | — | 0 | — | 0 | 0.3 | — | MIT | 4 years ago | |
| sebastian/comparator | 0.84 | Compare PHP values for equality with dedicated comparators for scalars, arrays, objects, dates, and more. Part of PHPUnit, it reports detailed differences via ComparisonFailure exceptions and ships a Factory for selecting the right comparator. | 7,042 | 7,061 | 74 | 16M | 1 | 52.9 | 52.7 | BSD-3-Clause | 2 months ago | |
| overtrue/laravel-follow | 0.84 | A Laravel package that adds follow/unfollow functionality to your models. Easily let users follow, unfollow, and check relationships, with support for followers, following lists, and querying follow state through a simple trait-based API. | 1,219 | — | 134 | — | 0 | 18.0 | — | MIT | 7 months ago | |
| ikechukwukalu/makeservice | 0.83 | Laravel package that adds a make:service Artisan command to scaffold dedicated service classes, helping keep controllers and models lean by moving business logic into reusable, testable services. A lightweight way to organize application code and speed up development. | 5 | — | 2 | — | 0 | 16.5 | — | MIT | 2 months ago | |
| fakerphp/faker | 0.83 | Faker is a PHP library for generating realistic fake data to seed databases, build test fixtures, stress test apps, create sample documents, or anonymize production data. Create a generator with Faker\Factory::create() and call methods like name(), email(), text(). | 4,003 | 4,082 | 430 | 20M | 12 | 45.5 | 63.5 | NOASSERTION | 1 year ago | |
| juststeveking/laravel-stubs | 0.83 | Laravel Stubs provides publishable stub files for Laravel's make commands, letting you customize generated classes, controllers, models, and other scaffolding to match your project's conventions without editing vendor files. | 0 | 11 | — | 0 | — | 0.0 | — | — | — | |
| mpyw/mockery-pdo | 0.83 | Experimental BDD-style PDO mocking library built on mockery/mockery. Define expectations for prepare/bind/execute and return rows via fetch/fetchAll in a fluent API, making PDO-based code easy to test on PHP 8.2+. | 3 | 3 | 2 | 1K | 1 | 5.1 | 34.5 | MIT | 10 months ago | |
| mazarini/test-bundle | 0.83 | mazarini/test-bundle is a simple PHP testing bundle that helps organize test-related configuration and utilities. It has minimal community adoption and limited feedback, making it best suited for small projects or experimentation. | 0 | 0 | 0 | 0 | 0 | 0.5 | 1.1 | GPL-3.0 | — |
How can I help you explore Laravel packages today?