PHPackages                             ritenn/implementator - 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. ritenn/implementator

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

ritenn/implementator
====================

Binding automatically interfaces to implementation and also helps creating custom class files e.g. Service or Repository.

v1.0.2(5y ago)0105MITPHPPHP &gt;=7.0

Since Aug 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ritenn/implementator)[ Packagist](https://packagist.org/packages/ritenn/implementator)[ RSS](/packages/ritenn-implementator/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (3)Dependencies (3)Versions (5)Used By (0)

Intro
-----

[](#intro)

This package adds additional 3 artisan commands that will speed up your development. You can quickly create contract/interface and implement it to your service or repository layer just like with any other artisan commands e.g. `make:model` etc. Additionally, it automatically binds interface to implementation by base file name, which means that you don't have to waste time to do it manually.

Make your code clean and readable!

Installation
------------

[](#installation)

Requires PHP &gt;=7.0 and Laravel 7.x

`composer require ritenn/implementator`

Publishing config
-----------------

[](#publishing-config)

That will copy 'implementator' config to your app config directory

```
php artisan vendor:publish --provider="Ritenn\Implementator\ImplementatorServiceProvider" --force
```

Available commands and options
------------------------------

[](#available-commands-and-options)

- `php artisan make:service *baseName` - creates contract and implementation for your service layer
- `php artisan make:repository *baseName` - creates contract and implementation for your repository
- You can also use option `--without-contract`, if you want to create just layer without contract implementation
- Finally, you can create contract without implementation using `php artisan make:contract *baseName`. However, if contracts categorization is enabled in your config you must also specify layer name e.g. `--layer=Services`

\*baseName - e.g. TestService, base name is 'Test', UserRepository &gt; User, CartContract &gt; Cart

Configuration
-------------

[](#configuration)

1. You can change it to 'Interfaces' if you wish, that will affect folders/files/class names
    `'terminology' => 'Contracts'`
2. If enabled, commands will create additional subfolders for your contracts
    `'contracts_categories' => true`
3. If enabled, bindings will be loaded from cache in production
    `'cache' => true`
4. You can add exceptions for auto-bindings, if your class requires additional parameters that won't be auto resolved by laravel.
    `'binding_exceptions' => array()`
    e.g.
    `binding_exceptions' => array(['App\Contracts\Services\TestContract' => 'App\Services\TestService'], [... => ...], ...)`

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Total

3

Last Release

1921d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39996570?v=4)[ritenn](/maintainers/ritenn)[@ritenn](https://github.com/ritenn)

---

Top Contributors

[![ritenn](https://avatars.githubusercontent.com/u/39996570?v=4)](https://github.com/ritenn "ritenn (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ritenn-implementator/health.svg)

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

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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