PHPackages                             gmo-ecs/ecs-common-source - 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. gmo-ecs/ecs-common-source

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

gmo-ecs/ecs-common-source
=========================

Support for extracting common structure when building sources at early stages of the project.

v1.0(1y ago)010MITPHPPHP ^8.2

Since Nov 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/trungnv-dev/ecs-common-source)[ Packagist](https://packagist.org/packages/gmo-ecs/ecs-common-source)[ RSS](/packages/gmo-ecs-ecs-common-source/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

ECS Common Core Laravel 11
==========================

[](#ecs-common-core-laravel-11)

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

[](#installation)

Require this package with composer

```
composer require gmo-ecs/ecs-common-source
```

Publish packages
----------------

[](#publish-packages)

```
php artisan ecs:installation
```

Repositories
------------

[](#repositories)

1. Artisan command

```
php artisan make:repository TestRepository
```

2. Specify model for repository

```
php artisan make:repository TestRepository --model=Test
```

Services
--------

[](#services)

1. Artisan command

```
php artisan make:service TestService
```

2. Specify repository for service

```
php artisan make:service TestService --repository=TestRepository
```

3. Specify model for repository when create service

```
php artisan make:service TestService --repository=TestRepository --model=Test
```

Controllers custom when exists option --repository
--------------------------------------------------

[](#controllers-custom-when-exists-option---repository)

1. Specify repository for controller

```
php artisan make:controller TestController --repository=TestRepository
```

2. Specify model for repository when create controller

```
php artisan make:controller TestController --repository=TestRepository --model=Test
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity5

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

Unknown

Total

1

Last Release

538d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/373d53384fc32f5b29bb703b824eddea40f16520e2d29f6c86a23dc17c35fa05?d=identicon)[Trungnv](/maintainers/Trungnv)

---

Top Contributors

[![trungnv-dev](https://avatars.githubusercontent.com/u/106644937?v=4)](https://github.com/trungnv-dev "trungnv-dev (8 commits)")

---

Tags

phplaravellaravel 11coreECS

### Embed Badge

![Health badge](/badges/gmo-ecs-ecs-common-source/health.svg)

```
[![Health](https://phpackages.com/badges/gmo-ecs-ecs-common-source/health.svg)](https://phpackages.com/packages/gmo-ecs-ecs-common-source)
```

###  Alternatives

[amranidev/laracombee

Recommendation system for laravel

11636.7k1](/packages/amranidev-laracombee)[wujunze/money-wrapper

MoneyPHP Wrapper

113.8k](/packages/wujunze-money-wrapper)

PHPackages © 2026

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