PHPackages                             felipedamacenoteodoro/makeservicerepository - 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. felipedamacenoteodoro/makeservicerepository

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

felipedamacenoteodoro/makeservicerepository
===========================================

Generate service and repository file and interface

v1.0.3(4y ago)172004MITPHP

Since Dec 30Pushed 4y ago3 watchersCompare

[ Source](https://github.com/felipedamacenoteodoro/makeservicerepository)[ Packagist](https://packagist.org/packages/felipedamacenoteodoro/makeservicerepository)[ Docs](https://github.com/felipedamacenoteodoro/makeservicerepository)[ RSS](/packages/felipedamacenoteodoro-makeservicerepository/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (1)Versions (9)Used By (0)

Make Service Repository
=======================

[](#make-service-repository)

Quickly generate command make for Service and Repository files for projects using [Laravel](https://www.linkedin.com/in/felipedamacenoteodoro) packages.

Install
-------

[](#install)

Via Composer

```
composer require felipedamacenoteodoro/makeservicerepository --dev
```

Custom directory
----------------

[](#custom-directory)

Publish the config file and customize your service and repository folder

```
php artisan vendor:publish --tag=makeservicerepository-config
```

Usage
-----

[](#usage)

Open the console and enter one of the commands:

- **Generate all files for one new Service and Repository interface:**

```
php artisan make:crudsrv {Entity_name}
```

- Generate only Repository Interface class

```
php artisan make:repository {Entity_name} --interface
```

- Generate only Service Interface class

```
php artisan make:service {Entity_name} --interface
```

- Generate a Service, You will be asked if you want to create the interface too

```
php artisan make:service {Entity_name}
```

- Generate a Repository, You will be asked if you want to create the interface too

```
php artisan make:repository {Entity_name}
```

Remember
--------

[](#remember)

You need to map the interface bind on your application server provider.

- **Exemple:**

Add In the boot method of your service provider `app/Providers/AppServiceProvider.php`:

- add on boot method

```
$this->app->bind(YourEntityCreatedServiceInterface::class, YourEntityCreatedService::class);
$this->app->bind(YourEntityCreatedRepositoryInterface::class, YourEntityCreatedRepository::class);
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

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 ~3 days

Total

4

Last Release

1637d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ede989546f12f2a8ba1bf922694b5a70b02a07e49c138f9fc8986ff1940f3924?d=identicon)[felipe.devops](/maintainers/felipe.devops)

---

Top Contributors

[![felipedamacenoteodoro](https://avatars.githubusercontent.com/u/13315400?v=4)](https://github.com/felipedamacenoteodoro "felipedamacenoteodoro (5 commits)")

---

Tags

artisanservicegeneratorsrepositorymake

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/felipedamacenoteodoro-makeservicerepository/health.svg)

```
[![Health](https://phpackages.com/badges/felipedamacenoteodoro-makeservicerepository/health.svg)](https://phpackages.com/packages/felipedamacenoteodoro-makeservicerepository)
```

###  Alternatives

[fedeisas/laravel-js-routes

Laravel 4 routes from Javascript

63138.1k](/packages/fedeisas-laravel-js-routes)[dollar/generators

Laravel 4 Generators w/ Bootstrap 3

7723.4k](/packages/dollar-generators)[mckenziearts/laravel-command

A simple Laravel package to provide artisan new commands

321.2k](/packages/mckenziearts-laravel-command)

PHPackages © 2026

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