stephenjude/api-test-helper
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...
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |
| hughsaffar/laravel-test-trap | 0.88 | Laravel Test Trap is a focused testing helper for Laravel that adds guardrails to your suite, helping catch unintended behavior before it reaches CI. It keeps tests safer and more predictable with minimal setup, making it a useful addition for teams tightening test reliability. | 18 | — | 1 | — | 0 | 0.5 | — | MIT | 3 years ago | |
| symplify/easy-testing | 0.88 | Utilities for easier PHP unit testing, focused on writing cleaner tests with less boilerplate. Provides helpers and base test cases commonly used in Symplify tools to streamline assertions, fixture handling, and test setup across projects. | 0 | 42 | — | 2K | — | 0.0 | 45.4 | — | — | |
| nnjeim/respond | 0.88 | — | 5 | 5 | 1 | 6 | 0 | 0.7 | 4.2 | MIT | 5 years ago | |
| lastdragon-ru/lara-asp-testing | 0.88 | Testing utilities for integrating Lara ASP into Laravel apps. Provides helpers, fakes, and assertions to simplify writing automated tests around ASP policies, decisions, and request/response flows in your application. | 0 | 0 | 0 | 75 | 0 | 0.0 | 26.0 | MIT | — | |
| php-http/client-integration-tests | 0.87 | 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 | |
| tomb1n0/guzzle-mock-handler | 0.87 | Lightweight mock handler for Guzzle to fake HTTP responses in tests. Queue responses, simulate status codes, headers, and body content, and inspect requests without making real network calls—useful for unit/integration testing of API clients. | 3 | 3 | 2 | 4K | 4 | 1.1 | 42.0 | MIT | — | |
| crudly/testly | 0.87 | A simple test package placeholder for crudly/testly. Currently contains minimal scaffolding and documentation (“This is a test”) and may be used for experimentation or as a starting point for future CRUD-related tooling. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 6 years ago | |
| ichinya/laratesto | 0.87 | Laratesto is a Laravel package that provides convenient testing utilities and expressive helpers for PHP applications, reducing boilerplate so you can write clear, reliable feature and unit tests with less effort. | 2 | 2 | 1 | 1K | 0 | 19.6 | 40.8 | BSD-3-Clause | 2 weeks ago | |
| phpunit/phpunit-dom-assertions | 0.87 | Adds expressive DOM assertions to PHPUnit for testing HTML and XML output, letting you assert elements, attributes, text content, and structure using a fluent, readable API built on Symfony's DomCrawler and CssSelector components. | 29 | — | 13 | — | 1 | 6.3 | — | NOASSERTION | 8 months ago |
|
| http-interop/http-factory-tests | 0.87 | Unit tests for HTTP Factory implementations. Add test suite config to phpunit.xml and define factory class constants, then validate your PSR-17 request, response, server request, stream, uploaded file, and URI factories. | 11 | 12 | 8 | 20K | 0 | 20.1 | 51.7 | MIT | 1 month ago | |
| arielmejiadev/json-api-auth | 0.87 | Laravel package that adds token-based JSON API authentication to your app, with ready-made login, registration, refresh, and logout endpoints. Secure API routes and issue access tokens without hand-wiring auth logic. | 26 | — | 11 | — | 1 | 1.0 | — | MIT | 4 years ago | |
| smartassert/test-authenticaton-provider-bundle | 0.87 | A Symfony bundle from SmartAssert that provides a test authentication provider, letting functional and integration tests sign in users through configurable test credentials without a real identity backend. | 0 | 0 | 0 | 2K | 0 | 1.7 | 46.4 | MIT | 11 months ago | |
| pkly/phpunit-service-create-trait | 0.87 | A PHPUnit 12+ trait (PHP 8.4+) that builds real service instances with auto-mocked constructor and #[Required] dependencies. Dependencies stay as invisible stubs until fetched, so you only get mock verification where you ask for it. | 0 | 0 | 0 | 289 | 0 | 20.8 | 39.4 | MIT | 1 month ago | |
| kununu/testing-bundle | 0.87 | Kununu Testing Bundle provides reusable helpers and utilities for testing Symfony applications, simplifying test setup, mocking, and assertions so teams can write cleaner, more maintainable PHPUnit tests. | 8 | 9 | 0 | 2K | 0 | 17.6 | 38.0 | MIT | 1 month ago | |
| wyrihaximus/test-utilities | 0.87 | Test utilities for api-clients packages, providing a PHPStan extension so test classes can extend WyriHaximus\TestUtilities\TestCase, with automatic registration via phpstan/extension-installer or manual inclusion of extension.neon. | 7 | 7 | 1 | 204K | 6 | 35.0 | 69.0 | MIT | 5 days ago | |
| phpstan/phpstan-phpunit | 0.87 | 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 | 4 weeks ago | |
| amranidev/laracombee | 0.87 | Laracombee is a Laravel package offering a simple, Laravel-friendly interface to the Recombee recommendation API. Manage users, items, interactions, and personalized recommendations for e-commerce, media, and marketplace applications. | 113 | 113 | 8 | 1K | 0 | 22.2 | 17.8 | MIT | 1 month ago | |
| 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 | — | — | |
| essa/api-tool-kit | 0.86 | Essa API Tool Kit is a Laravel package for building clean, consistent APIs faster. It provides query filtering, sorting, pagination, eager-load includes, standardized JSON responses, error handling and validation helpers, cutting boilerplate so you can focus on your endpoints. | 533 | 534 | 56 | 3K | 0 | 12.0 | 12.4 | MIT | 7 months ago |
How can I help you explore Laravel packages today?