PHPackages                             loeyae/loeye - 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. [Framework](/categories/framework)
4. /
5. loeyae/loeye

ActiveLibrary[Framework](/categories/framework)

loeyae/loeye
============

a php framework

0.0.2(6y ago)012MITPHPPHP &gt;=7.1.0CI failing

Since May 4Pushed 5y ago1 watchersCompare

[ Source](https://github.com/loeyae/loeye)[ Packagist](https://packagist.org/packages/loeyae/loeye)[ RSS](/packages/loeyae-loeye/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (25)Versions (3)Used By (0)

loeye
=====

[](#loeye)

php framework

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

[](#installation)

```
composer require loeyae/loeye

```

Quick Start
-----------

[](#quick-start)

初始化应用

```
vendor/bin/loeye loeye:create-app

```

运行应用

```
vendor/bin/loeye loeye:run-app

```

或者直接运行根目录下的App.php

```
php App.php

```

Demo默认监听80端口，如需修改，编辑app/config/app/master.yml

```
server.port=80

```

Demo在php安装有Swoole扩展的情况下，会默认使用Swoole\\Http\\Server作为服务启动，如果没有安装Swoole，会使用React\\Http\\Server作为服务启动

开发应用前，将app目录加入到自动加载的namespace，比如编辑composer.json，增加psr-4自动加载规则

```
"autoload": {
    "psr-4": {
        "app\\": "app/"
    }
}

```

更新autoload

```
composer update

```

### 根据已有数据库快速搭建应用

[](#根据已有数据库快速搭建应用)

- 初始化应用

```
vender/bin/loeye loeye:create-app
```

- 修改默认监听端口
- 增加app目录namespace自动加载规则
- 修改conf/database/master.yml中数据配置
- 生成数据表对应实体

```
vendor\bin\loeye loeye:generate-entity
```

> 生成好的实体自带简单的验证规则，可根据实际情况进行调整

- 生成实体类对应server

```
vendor\bin\loeye loeye:generate-server
```

- 生成实体类对应的plugin

```
vendor\bin\loeye loeye:generate-entity-plugins
```

- 生成实体类对应的module

```
vendor\bin\loeye loeye:generate-entity-module
```

> 生成的module默认使用jwt作为权限验证方式，`conf/modules/token.yml`用于生成token, 默认通过`/token` 可访问, 访问其他module时在header中增加 token信息， `Authorization: $token`

- 运行应用

```
vendor\bin\loeye loeye:run-app

```

### 根据已有数据库快速搭建service应用

[](#根据已有数据库快速搭建service应用)

- 初始化service应用

```
vendor/bin/loeye loeye:create-app -d service

```

- 修改默认监听端口
- 增加app目录namespace自动加载规则
- 修改conf/database/master.yml中数据配置
- 生成数据表对应实体

```
vendor\bin\loeye loeye:generate-entity

```

> 生成好的实体自带简单的验证规则，可根据实际情况进行调整

- 生成实体类对应server

```
vendor\bin\loeye loeye:generate-server

```

- 生成默认service

```
vendor\bin\loeye loeye:create-service

```

> service中会生成client的配置文件和client类，可用于其它应用访问该service使用， 使用时复制conf/clien,service/client目录下的文件到相应应用，注意修改conf/client/master.yml 中的service.server\_url地址,以及service/client目录下各文件的namespace。 如果需要创建相应的plugin，可使用命令 ` vendor\bin\loeye loeye:generate-client-plugin`

- 运行应用

```
vendor\bin\loeye loeye:run-app

```

License
-------

[](#license)

Licensed under [Apache 2 license](http://www.apache.org/licenses/LICENSE-2.0.html).

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Total

2

Last Release

2249d ago

### Community

Maintainers

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

---

Top Contributors

[![loeyae](https://avatars.githubusercontent.com/u/8197276?v=4)](https://github.com/loeyae "loeyae (97 commits)")

---

Tags

loeyaeloeye

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/loeyae-loeye/health.svg)

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

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M568](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[oro/platform

Business Application Platform (BAP)

645143.5k114](/packages/oro-platform)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k17.8k](/packages/prestashop-prestashop)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)

PHPackages © 2026

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