PHPackages                             confidire/presty-core - 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. confidire/presty-core

ActiveLibrary[Framework](/categories/framework)

confidire/presty-core
=====================

presty framework core code

1.x-dev(2y ago)2111Apache-2.0PHPPHP &gt;=7.3

Since Dec 17Pushed 2y ago2 watchersCompare

[ Source](https://github.com/confidire/presty-core)[ Packagist](https://packagist.org/packages/confidire/presty-core)[ RSS](/packages/confidire-presty-core/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (5)Versions (2)Used By (1)

Presty v1.0.0
=============

[](#presty-v100)

[![Version-1.0](https://camo.githubusercontent.com/f6e52755fccc861a8dfdee462ef5f106420ba92bf1a726ea185162e14e8f38bb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302d73756363657373)](https://camo.githubusercontent.com/f6e52755fccc861a8dfdee462ef5f106420ba92bf1a726ea185162e14e8f38bb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302d73756363657373)

Presty 是一款易上手、轻量级、完善化的后端PHP开发框架。

[框架官网](https://presty.confidire.com) | [开发文档](https://doc.presty.confidire.com) | [开源地址](https://github.com/confidire/presty) | [开源协议](https://github.com/confidire/presty/blob/master/LICENSE)

一、在使用本版本的Presty前，您需要了解以下重要事项：
-----------------------------

[](#一在使用本版本的presty前您需要了解以下重要事项)

1. Presty v1.0.0 对于 PHP 运行环境要求是 7.3 或以上。
2. 若您单独更新过框架核心文件版本，请注意您当前项目根目录下的 `README.md`文件可能并不是适合您框架版本的最新版，请以 `vendor/tomanday/presty`目录下的 `README.md`文件为主。
3. 该版本为Windows平台的用户提供了exe操作文件，此文件支持一键下载框架、执行框架控制台命令等操作，简化了Windows平台在控制台中的操作难易度，您可选择性安装，文件将会附在 `presty`仓库的每个Release的 `Code`中。
4. 选择Presty版本时，请注意了解版本号中所表示的信息：
    - `dev` 表示此版本为早期研发版本，是为了验证框架是否能够正常运行而发布的版本，极其不稳定，非必要情况下请不要安装。
    - `alpha` 表示此版本为开发中版本，新版本功能尚未完全开发完成，稳定性低，不推荐安装。
    - `beta` 表示此版本为测试版本，新版本功能已基本完善，主要是各类Bug的修复，稳定性中等偏低，不推荐在生产环境中安装。
    - `patch` 表示此版本为上版本的补丁版本，修复了一些致命性Bug，其余安全性、稳定性较前一个版本有所提高，其余功能没有过多改动。
5. 本次部分更新（下方更新日志中携带 `*`的更新项）修改范围包括根目录文件，对于使用旧版本的项目，更新到此版本时需要手动覆盖相关文件方可生效，我们建议您在备份好网站数据后再进行覆盖升级，以免造成不必要的损失。

---

二、Presty v1.0.0-dev-8 更新日志：
---------------------------

[](#二presty-v100-dev-8-更新日志)

- \*异常抛出页面 `错误抛出位置`中错误文件代码展示部分支持语法高亮功能
- \*重写了路由机制，调整了部分文件结构（该项更新尚未完成，相关功能将暂时无法使用）
- 系统运行状况展示面板新增功能指引和错误输出提示
- 容器类新增部分函数
- 优化了部分文件结构
- 优化了模块基类部分函数的运行逻辑
- 优化了系统运行状况展示面板中部分内容的显示效果
- 优化了部分不符合PSR-4规范的路径命名
- 优化了部分命名的大小写区分
- 优化了容器中部分需频繁复用的类的调用逻辑
- 修复了开发模式下系统运行状况展示面板异常缺失的错误
- 修复ModuleGuide命名格式错误等引起的致命错误
- 修复了创建视图缓存时指定目录结构缺失引起的错误
- 修复了AntiXSS类在高版本PHP中因弃用函数引起的报错
- 修复了其他已知Bug

三、v1.0.0 To Do List
-------------------

[](#三v100-to-do-list)

- 实现中层控制器
- 完善Model基类
- 完善ORM机制
- 重写模板引擎
- 重写路由机制

四、框架已获得以下机构的认证
--------------

[](#四框架已获得以下机构的认证)

[![墨菲安全](https://camo.githubusercontent.com/12c8fbee0a420638f8a16c439d23817a149e7db5649dcd010a21aaa84729de50/68747470733a2f2f7777772e6d75727068797365632e636f6d2f6173736574732f6c6f676f2e36613133366238312e737667)](https://old.murphysec.com/dr/ajgI6mrQe7eRYZmc0J)

五、特别感谢
------

[](#五特别感谢)

Presty在开发时借助了以下开源项目的帮助，特在此向这些开源项目及其作者予以感谢。

项目名作者开源协议开源地址代码用途使用程度symfony/consoleFabien Potencier
Symfony CommunityMIT[Github](https://github.com/symfony/symfony)构建控制台命令使用接口phpunit/phpunitSebastian BergmannBSD 3-Clause[Github](https://github.com/sebastianbergmann/phpunit)自动化测试使用接口scrivo/highlight.phpGeert Bergman
Vladimir Jimenez
Martin FolkersBSD 3-Clause[Github](https://github.com/scrivo/highlight.php)实现部分场景中的
代码高亮需求使用接口

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 87.5% 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

876d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc61c5ccda98f86f5ce27b837d722dc229a1e7aebeaa925c4fae38516121de51?d=identicon)[confidire](/maintainers/confidire)

---

Top Contributors

[![confidire-official](https://avatars.githubusercontent.com/u/98697937?v=4)](https://github.com/confidire-official "confidire-official (28 commits)")[![lumirant](https://avatars.githubusercontent.com/u/69715331?v=4)](https://github.com/lumirant "lumirant (4 commits)")

### Embed Badge

![Health badge](/badges/confidire-presty-core/health.svg)

```
[![Health](https://phpackages.com/badges/confidire-presty-core/health.svg)](https://phpackages.com/packages/confidire-presty-core)
```

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.3k86.3M2.2k](/packages/symfony-symfony)[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[shopware/platform

The Shopware e-commerce core

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

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)

PHPackages © 2026

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