erfanwd/laravel-repository-pattern

A Laravel package to auto-generate repositories and interfaces based on models

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/erfanwd/laravel-repository-pattern

v2.0.1 2025-07-20 16:06 UTC

This package is auto-updated.

Last update: 2025-12-20 17:27:06 UTC


README

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