Looking to hire Laravel developers? Try LaraJobs

laravel-repository-pattern maintained by erfanwd

Description
A Laravel package to auto-generate repositories and interfaces based on models
Last update
2025/07/20 18:28 (dev-main)
License
Links
Downloads
14

Comments
comments powered by Disqus

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