erfanwd/laravel-repository-pattern

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

Maintainers

Package info

github.com/erfanwd/laravel-repository-pattern

pkg:composer/erfanwd/laravel-repository-pattern

Statistics

Installs: 14

Dependents: 0

Suggesters: 0

Stars: 5

Open Issues: 0

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

This package is auto-updated.

Last update: 2026-04-20 18:08:57 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