PHPackages                             theranken/laravel-sr-generator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. theranken/laravel-sr-generator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

theranken/laravel-sr-generator
==============================

A package to generate service and repository classes for Laravel 10-13 applications

v1.1.0(1mo ago)0580MITPHPPHP ^8.1CI passing

Since Jul 26Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/theRanken/laravel-sr)[ Packagist](https://packagist.org/packages/theranken/laravel-sr-generator)[ RSS](/packages/theranken-laravel-sr-generator/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (1)Dependencies (4)Versions (4)Used By (0)

🚀 Laravel Service Repository Generator: Your Code's New Best Friend! 🎉
======================================================================

[](#-laravel-service-repository-generator-your-codes-new-best-friend-)

Hey there, Laravel enthusiast! Are you tired of manually creating services and repositories? Well, say hello to your new coding buddy - the Laravel Service Repository Generator!

A package to generate service and repository classes for Laravel 10, 11, 12, and 13 applications.

🎭 What's This Package All About?
--------------------------------

[](#-whats-this-package-all-about)

This magical package is here to make your Laravel 10.x life easier, more fun, and way more productive. It's like having a personal code butler at your service!

- PHP 8.1+ for Laravel 10
- PHP 8.2+ for Laravel 11 and 12
- PHP 8.3+ for Laravel 13
- Laravel 10.x, 11.x, 12.x, or 13.x

1. 🧙‍♂️ Generate Services: With a flick of your command wand, create beautiful service classes!
2. 🏗️ Build Repositories: Conjure up repositories faster than you can say "Eloquent"!
3. 🔗 Auto-Binding: Watch in awe as it automatically binds your interfaces to implementations!
4. 🧩 Smart Providers: It even updates your service providers automagically!

Install the package with Composer:

```
composer require theranken/laravel-sr-generator
```

Then publish the package assets and register the generated providers:

```
php artisan service-repository:install
```

Compatibility Notes
-------------------

[](#compatibility-notes)

- Laravel 10 projects register generated providers in `config/app.php`.
- Laravel 11+ projects register generated providers in `bootstrap/providers.php`.
- The package service provider is auto-discovered through Composer.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance94

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~339 days

Total

3

Last Release

30d ago

PHP version history (2 changes)v1.0.1PHP &gt;=8.1

v1.1.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/66031082?v=4)[ranken.dev](/maintainers/theRanken)[@theRanken](https://github.com/theRanken)

---

Top Contributors

[![theRanken](https://avatars.githubusercontent.com/u/66031082?v=4)](https://github.com/theRanken "theRanken (13 commits)")

---

Tags

patternsserviceservice-repositoryservice-repository-pattern

### Embed Badge

![Health badge](/badges/theranken-laravel-sr-generator/health.svg)

```
[![Health](https://phpackages.com/badges/theranken-laravel-sr-generator/health.svg)](https://phpackages.com/packages/theranken-laravel-sr-generator)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725173.0k14](/packages/tallstackui-tallstackui)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
