PHPackages                             selden1992/ppe - 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. selden1992/ppe

ActiveProject[Framework](/categories/framework)

selden1992/ppe
==============

The ppe Framework.

1.0.3(8y ago)991[1 PRs](https://github.com/selden1992/ppe/pulls)MITPHP

Since Dec 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/selden1992/ppe)[ Packagist](https://packagist.org/packages/selden1992/ppe)[ RSS](/packages/selden1992-ppe/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (8)Versions (6)Used By (0)

一个基于phalcon的laravel框架，php7.0以上版本，composer安装

[![Build Status](https://camo.githubusercontent.com/c59043e0b28eab034f19dabc49c9222c43e3fbe5e0c6bc2837a5c0086132a211/68747470733a2f2f7472617669732d63692e6f72672f6c61726176656c2f6672616d65776f726b2e737667)](https://packagist.org/packages/selden1992/ppe)[![License](https://camo.githubusercontent.com/f45d904953153ca304a2328243d2733e095eee13a631a1f390709885d41dd692/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f6672616d65776f726b2f6c6963656e73652e737667)](https://packagist.org/packages/selden1992/ppe)

About ppe
---------

[](#about-ppe)

> **Note:** ,phalcon框架本身提供一系列的功能，但是需要整合在一起才能完成一个完整的项目目录，本项目的目的是把phalcon可以有laravel的舒适度、友好、简单、完备的各种好处，但又不失性能。

已经集成的功能

- [env](https://packagist.org/packages/selden1992/ppe) 使用不同环境启用对应的env配置
- [多模块](https://packagist.org/packages/selden1992/ppe) 根据域名或端口自动启动不同模块
- [命令行模块](https://laravel.com/docs/container) 定时任务下，使用phalcon的cli应用，普通命令基于symfony的console
- [异常](https://packagist.org/packages/selden1992/ppe) 使用whoops调试神器，代码调试非常方便，自带的异常发送邮件提示功能
- [Facades门脸](https://packagist.org/packages/selden1992/ppe) Db、Log等常用类都提供根命名的门脸,也允许业务自己注册自己的容器门脸
- [日志](https://packagist.org/packages/selden1992/ppe) 默认使用monolog，因为phalcon自带的log不好扩展，当然，也允许使用phalcon的log类，只要Di注入即可
- [事件](https://packagist.org/packages/selden1992/ppe) 事件和监听器配置，可以满足大多数需求变更

安装
--

[](#安装)

如果安装不上，记得切换国内composer镜像

```
composer create-project selden1992/ppe

```

多模块
---

[](#多模块)

[config/app.php](CODE_OF_CONDUCT.md)配置多模块

```
    'default_module'=>'index',
    'modules' => [
        "index" => [
            // 命名空间格式名称
            "nameSpace" => 'Index',
            "domain" => env('index_domain',"www.ppe.app"),
            'core' => 'full',
        ],
    ],

```

可以配合.env配置，区分不同环境的模块配置

Facades门脸
---------

[](#facades门脸)

Facades的使用对开发非常有帮助，例如发送短信功能，本地调试使用写日志方式调试，正式环境就真实发送，只要业务层统一使用门脸调用，就可以无缝地切换

[apps/Facades/Kernel.php](CODE_OF_CONDUCT.md)注册业务门脸

所有门脸都是惰性加载

Exceptions异常
------------

[](#exceptions异常)

处理框架自带的异常处理handler外，可以在[apps/Exceptions/Kernel.php](CODE_OF_CONDUCT.md)注册业务异常处理，例如错误发生邮件、发生日记管理系统

已有handler（错误日志记录，404页面处理,500页面处理）

如何对框架进行修改
---------

[](#如何对框架进行修改)

本框架完全使用DI贯穿整个项目，为了就是可像usb那样，快速切换或者添加功能

修改[boostsrap/app.php](CODE_OF_CONDUCT.md)文件的initializeServices内容，就可以替换框架任意功能

License
-------

[](#license)

The ppe framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~15 days

Total

3

Last Release

3086d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6645de82017106e5f82dff108225c338183991e509d3a5be8d5946a38e623436?d=identicon)[selden1992](/maintainers/selden1992)

---

Top Contributors

[![cyz-home](https://avatars.githubusercontent.com/u/15663154?v=4)](https://github.com/cyz-home "cyz-home (5 commits)")[![ctfang](https://avatars.githubusercontent.com/u/18717080?v=4)](https://github.com/ctfang "ctfang (1 commits)")

---

Tags

frameworklaravelphalcon

### Embed Badge

![Health badge](/badges/selden1992-ppe/health.svg)

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

###  Alternatives

[hemp/presenter

Easy Model Presenters in Laravel

247608.3k1](/packages/hemp-presenter)[jelix/jelix

Jelix PHP framework

84109.7k5](/packages/jelix-jelix)[rahulalam31/laravel-abuse-ip

Block ip address of all spammer's around the world.

27234.5k](/packages/rahulalam31-laravel-abuse-ip)[phpmv/php-mv-ui

A JQuery and UI library for php and php MVC frameworks

3320.4k3](/packages/phpmv-php-mv-ui)[doppar/framework

The Doppar Framework

4011.2k14](/packages/doppar-framework)[sproutcms/cms

Enterprise content management and framework

242.2k4](/packages/sproutcms-cms)

PHPackages © 2026

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