PHPackages                             gmo-ecs/ecs-command - 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. [CLI &amp; Console](/categories/cli)
4. /
5. gmo-ecs/ecs-command

ActiveLibrary[CLI &amp; Console](/categories/cli)

gmo-ecs/ecs-command
===================

Command Init Repository and Service

v1.0(1y ago)014MITPHPPHP ^8.0

Since Nov 3Pushed 1y ago1 watchersCompare

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

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

esc-command
===========

[](#esc-command)

Command Init Repository and Service

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

[](#installation)

Require this package with composer

```
composer require gmo-ecs/ecs-command
```

Copy base repository after installation

```
php artisan vendor:publish --tag="base-repository"
```

Repository
----------

[](#repository)

1. Artisan command

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

2. Specify model for repository

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

Service
-------

[](#service)

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
```

Controller custom when exists option --repository
-------------------------------------------------

[](#controller-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

25

—

LowBetter than 37% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

561d 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 (2 commits)")

---

Tags

phplaravelrepositoryECSgmo

### Embed Badge

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

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

PHPackages © 2026

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