Laravel comes with a feature called Model Factories that are designed to allow you to quickly build out “fake” models.
These have several use cases so that you can use them to build out “dummy” models which can be used for both [...]
Go ahead and look at the contents of the config/app.php file. You'll find an array entry that lists all the service providers that will be loaded during the bootstrapping of the Laravel application (with core aplication). [...]