adroit11/laravel-tests
Reusable Laravel testing package with publishable test stubs, custom assertions, and helper utilities. Drop into Laravel 10/11 (PHP 8.1+) and run with PHPUnit or Pest to speed up common feature and integration testing setups.
A reusable testing package for Laravel applications, designed to streamline test setup and provide custom assertions and helpers for common testing scenarios.
Follow these steps to add the package to your Laravel project:
composer require adroit11/laravel-tests
This pulls the package from Packagist (assuming you’ll submit it there) into your project.
php artisan vendor:publish --tag=tests
This copies the test files to your tests/Feature/ directory.
php artisan test
MIT License
Copyright (c) 2025 Ogundiji Bolade Adio
Permission is hereby granted, free of charge, to any person obtaining a copy of the adroit11/laravel-tests package and its associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE, INCLUDING ITS INTEGRATION INTO LARAVEL APPLICATIONS FOR TESTING PURPOSES.
How can I help you explore Laravel packages today?