Download the PHP package vivek-mistry/repository-interface without Composer
On this page you can find all versions of the php package vivek-mistry/repository-interface. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vivek-mistry/repository-interface
More information about vivek-mistry/repository-interface
Files in vivek-mistry/repository-interface
Download vivek-mistry/repository-interface
More information about vivek-mistry/repository-interface
Files in vivek-mistry/repository-interface
Vendor vivek-mistry
Package repository-interface
Short Description Laravel package for dependency injection to separate business logic.
License MIT
Package repository-interface
Short Description Laravel package for dependency injection to separate business logic.
License MIT
Please rate this library. Is it a good library?
Informations about the package repository-interface
Laravel Repository Interface
A Laravel package that leverages dependency injection to cleanly separate business logic from other application layers, promoting better code organization, testability, and adherence to SOLID principles
🛠️ Installation
Install the package via Composer:
Particular Model Generare the Repository-Interface
So using above two files created at app/Repositories/Interface & app/Repositories/Repository
- ModelNameInterface.php
- ModelNameInterfaceRepository.php
Create Service Prvider
Register Your Service Provider & register your repository
=> Register your service provider
=> In your RepositoryServiceProvider add below :
HOW TO USE IN YOUR CONTROLLER?
For example :
Testing
Credits
- Vivek Mistry - Project creator and maintainer
License
MIT License. See LICENSE for details.
All versions of repository-interface with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
The package vivek-mistry/repository-interface contains the following files
Loading the files please wait ....