PHPackages                             sgenmi/eyaf - 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. sgenmi/eyaf

ActiveLibrary[Framework](/categories/framework)

sgenmi/eyaf
===========

An efficient Yaf framework

v1.1.0(1y ago)124202PHPPHP &gt;=8.0

Since Jun 25Pushed 1y agoCompare

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

READMEChangelog (10)Dependencies (10)Versions (56)Used By (0)

eYaf
====

[](#eyaf)

- 安装Yaf

```
    wget http://pecl.php.net/get/yaf-3.2.5.tgz
    tar zxvf yaf-3.2.5.tgz
    cd yaf-3.2.5
    phpize   [注意：phpize的路径，环境不同可能路径]
    ./configure --with-php-config=php-config  [注意：php-config的路径，环境不同可能路径]
    make && sudo make install
```

- 编辑php.ini
    - 在php.ini中增加如下代码

```
    extension=yaf.so
    ;PHP_INI_SYSTEM php.ini
    yaf.use_namespace=1
    ;ini_set, php.ini
    yaf.name_suffix=0
    yaf.use_spl_autoload=1
    yaf.name_separator=\;
```

- 初始化项目

```
    composer require sgenmi/eyaf
    php vendor/bin/eyaf install
```

- nginx 配置

```
server {
  listen 8080;
  server_name xx.com ;
  access_log off;
  index index.html index.htm index.php;
  # 项目路径
  root /var/www/xxxx/public;

  #error_page 404 /404.html;
  #error_page 502 /502.html;

  location / {
      try_files $uri $uri/ /index.php?$args;
  }

  #根据实际环境修改
  location ~ [^/]\.php(/|$) {
    #fastcgi_pass remote_php_ip:9000;
    fastcgi_pass unix:/dev/shm/php-cgi.sock;
    fastcgi_index index.php;
    include fastcgi.conf;
  }

  location ~ /\.ht {
    deny all;
  }
  location ~ /\.git {
      deny all;
  }
  location ~ /\.md {
        deny all;
    }
}

```

⼆. 数据模型：Medoo
=============

[](#-数据模型medoo)

```
 //注： 采⽤开源medoo作为框架的model，兼容medoo所有语法
```

Medoo 文档
--------

[](#medoo-文档)

官网文档：

特别感谢Medoo作者，开源这么小巧 好用的类库

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance46

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity74

Established project with proven stability

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

Recently: every ~75 days

Total

54

Last Release

418d ago

Major Versions

v0.3.1 → v1.0.0-alpha2023-08-02

v0.3.2 → v1.0.12023-11-17

PHP version history (3 changes)0.0.1PHP &gt;=7.1.0

v0.2.1.alpha9PHP &gt;=7.3

v1.0.0-alphaPHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6470f67a7fa34860c4297836c0490b45a9da2f14607a7d30221101756b69ea22?d=identicon)[Sgenmi](/maintainers/Sgenmi)

---

Top Contributors

[![Sgenmi](https://avatars.githubusercontent.com/u/3337501?v=4)](https://github.com/Sgenmi "Sgenmi (397 commits)")

---

Tags

frameworkyafeyaf

### Embed Badge

![Health badge](/badges/sgenmi-eyaf/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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