noeldemartin/laravel-dusk-mocking
Laravel Dusk Mocking lets you mock classes and services inside Laravel Dusk browser tests, where ordinary mocks can't reach the separate browser process. Register mocks in your test and have them applied in the application, making end-to-end tests faster and more predictable.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| protonemedia/laravel-dusk-fakes | 0.85 | Laravel Dusk Fakes lets you replace real Dusk browser sessions with fakes in your tests. It offers a fluent API to simulate browser interactions and assert Dusk calls, so you can test Dusk-dependent code quickly without launching a real browser. | 20 | 21 | 3 | 2K | 0 | 8.9 | 28.0 | MIT | 7 months ago | |
| timacdonald/callable-fake | 0.85 | A tiny PHP testing utility for faking/invoking callables. CallableFake lets you replace closures or invokable objects, record calls and arguments, assert usage, and return configured values—useful for isolating behavior in PHPUnit/Laravel tests. | 46 | 46 | 2 | 91 | 0 | 3.1 | 6.5 | MIT | 1 year ago | |
| fakerino/laravel-fakerino | 0.85 | A Laravel integration for Fakerino, the PHP fake data generator. It lets you produce realistic test data such as names, addresses, and other sample values directly within your Laravel applications and seeders. | 4 | 4 | 1 | 2 | 0 | 0.1 | 2.0 | — | 11 years ago | |
| alebatistella/duskapiconf | 0.85 | alebatistella/duskapiconf is a Laravel package that helps configure Laravel Dusk for API testing. It streamlines Dusk environment and test-runner setup, reducing manual boilerplate so you can run API-focused Dusk tests more easily with less configuration friction. | 4 | 5 | 1 | 16K | 0 | 0.6 | 48.4 | MIT | 3 years ago | |
| psr-mock/http-client-implementation | 0.85 | Tiny PSR-18 HTTP client implementation intended for mocking and testing. Provides a simple client you can plug into PSR-7/PSR-17 workflows to return predefined responses without real network calls. | 1 | 1 | 0 | 3K | 0 | 0.6 | 44.8 | MIT | 2 years ago | |
| roquie/laravel-dusk-select2 | 0.85 | Laravel Dusk Select2 adds a simple helper for interacting with Select2 dropdowns in Dusk browser tests. Pick options by visible text or value without fragile JavaScript workarounds, keeping your end-to-end tests readable and reliable. | 41 | 41 | 11 | 5K | 2 | 1.2 | 28.5 | MIT | 6 years ago | |
| smokills/laravel-http-client-default-options | 0.85 | A Laravel package for defining default options on the HTTP client, so shared headers, timeouts, and other settings apply automatically to every outgoing request. Configure defaults once and keep API calls clean, consistent, and free of repetition. | 28 | — | 8 | — | 0 | 0.3 | — | MIT | 5 years ago | |
| guzzle/plugin-mock | 0.85 | guzzle/plugin-mock provides a mock plugin for Guzzle, letting you queue predefined responses and simulate HTTP requests during testing. Useful for isolating API clients, reproducing edge cases, and running fast, reliable unit tests without real network calls. | 3 | 3 | 0 | 586 | 0 | 0.0 | 30.0 | — | — | |
| asvae/laravel-api-tester | 0.84 | Laravel API Tester adds a browser-based dashboard for exercising your app’s API endpoints without Postman. Define routes, send authenticated requests with custom headers, and inspect responses instantly—making manual API testing and debugging faster and simpler. | 355 | 356 | 52 | 6K | 21 | 9.5 | 23.7 | MIT | 6 years ago | |
| php-http/client-integration-tests | 0.84 | Integration test suite for PHP HTTP clients and adapters. Provides a shared test server and PHPUnit testsuite so you can verify that your client correctly implements the PSR-18 and HTTPlug contracts against real HTTP requests. | 16 | 17 | 10 | 555 | 1 | 19.6 | 23.7 | MIT | 4 months ago | |
| php-mock/php-mock | 0.84 | 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 | |
| joshhanley/livewire-dusk-extension | 0.84 | joshhanley/livewire-dusk-extension adds Livewire-aware helpers and assertions to Laravel Dusk, making it easier to write real-browser end-to-end tests for Livewire components and interactive Laravel UI behavior. | 2 | 2 | 1 | 0 | 0 | 0.3 | — | MIT | 4 years ago | |
| laravel-shift/faker-registry | 0.84 | Central registry for Laravel Faker providers. Easily register, discover, and reuse custom providers across apps and packages, keeping factories and seeders consistent. Ideal for sharing domain-specific fake data generators and avoiding duplicate setup. | 9 | 9 | 0 | 58K | 0 | 0.6 | 52.0 | MIT | 4 years ago | |
| stephenjude/api-test-helper | 0.84 | stephenjude/api-test-helper is a Laravel package that streamlines API testing with convenient helpers and expressive assertions for HTTP and JSON responses. It reduces boilerplate around authentication, request building, and response checks, helping you write cleaner, faster, more reliable API test... | 47 | — | 1 | — | 0 | 0.3 | — | MIT | 3 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 | |
| nunomaduro/laravel-console-dusk | 0.84 | Run Laravel Dusk browser automation inside Artisan commands for Laravel or Laravel Zero. Configure screenshots/log paths, headless mode, and driver options to script and test real browser flows from the console. | 162 | 163 | 24 | 933 | 9 | 10.6 | 15.5 | MIT | 8 months ago | |
| directorytree/dummy | 0.84 | A Laravel package from DirectoryTree for generating and managing dummy data, making it easy to scaffold placeholder records and test content during development. A lightweight helper for faster prototyping, seeding, and testing in your Laravel apps. | 43 | 43 | 0 | 2K | 0 | 14.8 | 25.7 | MIT | 5 months ago | |
| bneumann/mock-api-bundle | 0.84 | — | 2 | 2 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| 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 | |
| wpstarter/dusk | 0.84 | Laravel Dusk browser automation and testing for WP Starter/Laravel-style apps. Write expressive end-to-end tests using a standalone Chromedriver by default (no JDK/Selenium required), with the option to use other Selenium drivers. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 3 years ago |
How can I help you explore Laravel packages today?