laravel-repository-pattern maintained by erfanwd
Laravel Repository Pattern Generator
A lightweight Laravel package to generate repository and interface files with automatic binding and provider registration.
📦 Installation
Install the package via Composer:
composer require erfanwd/laravel-repository-pattern
Usage
publish provider using:
php artisan vendor:publish --tag=repository-base
then simply:
php artisan make:repository ModelName
you can use this command for all of your models:
php artisan make:repository --sync