PHPackages                             eiko/cli - 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. eiko/cli

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

eiko/cli
========

File structure generator for PHP projects. Simplifies the creation of standard directories and files for a quick start of development.

v1.7.2(9mo ago)014MITPHPPHP &gt;=8.2

Since Aug 10Pushed 9mo agoCompare

[ Source](https://github.com/TimurDev-hub/eiko)[ Packagist](https://packagist.org/packages/eiko/cli)[ Docs](https://github.com/TimurDev-hub/eiko)[ RSS](/packages/eiko-cli/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

File structure generator - Eiko;
================================

[](#file-structure-generator---eiko)

File structure generator for PHP projects. Simplifies the creation of standard directories and files for a quick start of development.

---

Installation;
-------------

[](#installation)

```
composer global require eiko/cli
```

---

Initialize Project;
-------------------

[](#initialize-project)

```
eiko init
```

### Creates a complete LeafPHP project structure:

[](#creates-a-complete-leafphp-project-structure)

```
server/
├── logs/
├── public/
│   └── index.php
├── src/
│   ├── core/
│   │   ├── Config/
│   │   └── Routes/
│   └── modules/
│       ├── Controllers/
│       ├── Middleware/
│       ├── Models/
│       └── Utils/
├── .env
├── .env.example
├── .gitignore
├── composer.json
└── README.md
```

#### After generation, run command:

[](#after-generation-run-command)

```
cd server
```

---

Create Components;
------------------

[](#create-components)

```
eiko create
```

Types:

1. controller
2. middleware
3. model
4. route

---

### Examples:

[](#examples)

```
eiko create controller Post
eiko create middleware Validation
eiko create model Product
eiko create route User
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance58

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

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

278d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/746c9bda22bd5ec2d6e4eaa7e20dab1fd57f05795f25246a3219af18b7f0aff0?d=identicon)[nhankyjangchan](/maintainers/nhankyjangchan)

---

Top Contributors

[![nhankyjangchan](https://avatars.githubusercontent.com/u/197477830?v=4)](https://github.com/nhankyjangchan "nhankyjangchan (33 commits)")

---

Tags

clicommand-line-toolphpphp8phpclicode generatordevelopment-toolsEiko

### Embed Badge

![Health badge](/badges/eiko-cli/health.svg)

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

###  Alternatives

[nunomaduro/termwind

It's like Tailwind CSS, but for the console.

2.5k239.8M286](/packages/nunomaduro-termwind)[nunomaduro/laravel-console-task

Laravel Console Task is a output method for your Laravel/Laravel Zero commands.

2582.1M11](/packages/nunomaduro-laravel-console-task)[mehrancodes/laravel-harbor

A CLI tool to Quickly create On-Demand preview environment for your apps.

9989.0k](/packages/mehrancodes-laravel-harbor)[php-school/learn-you-php

An introduction to PHP's core features: i/o, http, arrays, exceptions and so on.

3192.0k](/packages/php-school-learn-you-php)[alecrabbit/php-cli-snake

Lightweight cli spinner with zero dependencies

29211.3k5](/packages/alecrabbit-php-cli-snake)

PHPackages © 2026

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