The repository provides a collection interface to access data stored in a database, file system or external service.
The main idea to use Repository Pattern in a Laravel application is to create a bridge between models and controllers.
This package assi sts to automatically generate the Interface and Repository files in saving your time and supporting to focus on implementing the logic. Especially, you do not need binding the interface and repository class in Service provider class
Add the following service provider in config/app.php Run make:repository command --interface is to indicate the Interface file.--repository is to indicate the Repository file.--model is to allocate the Model.