In this tutorial we're going to create a new Laravel package for the Auth tests we wrote in a previous tutorial. https://paulund.co.uk/laravel-make-auth-testsWe want to move this into it's own Laravel package service provider so that we can reuse these tests on any new Laravel project we start. If you don't know how to create your own Laravel package please read one of my previous articles.

We can store these tests into a stubs folder and copy them into our project tests folder.

Enter the number for the auth tests service provider and the tests will be moved into your project tests folder.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners