PHPackages                             szjcomo/szjcore - 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. szjcomo/szjcore

ActiveLibrary

szjcomo/szjcore
===============

Framework based on easyswoole

v1.1.6(6y ago)1971Apache-2.0PHPPHP &gt;=7.1.0

Since Aug 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/szjcomo/szjcore)[ Packagist](https://packagist.org/packages/szjcomo/szjcore)[ RSS](/packages/szjcomo-szjcore/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (6)Versions (28)Used By (0)

思智捷科技ODAPHP框架核心库
================

[](#思智捷科技odaphp框架核心库)

odaphp 是一款基于easyswoole的快速开发的php框架，在原有的easyswoole的基础上增强了定时器、任务投递等功能，简化了配置操作、缓存操作、路由操作、以及reqeust、response等操作的复杂性和安全性，完全兼容easyswoole内的所有方法 具体可以查看easyswoole官方文档

核心库扩展说明
-------

[](#核心库扩展说明)

### Controller类扩展

[](#controller类扩展)

- 命名空间

```
szjcomo\szjcore\Controller
```

- 继承自

```
EasySwoole\Http\AbstractInterface\Controller
```

- 扩展说明

类型方法名称参数说明方法说明publicindex()无easyswoole 规定继承自控制器必须实现index方法publicsessions($key,$value)key,value获取session和设置session的值publicappResult($info,$data,$err)info,data,err统一app返回值,info 返回说明 data的数据 err是否正确publicappJson($data,$code)data,code响应JSON数据,code默认是200publicinitialize()无全局拦截事件，如做权限控制请在子类中自行完成，返回false不继续执行后面的程序 返回true继续执行publiconRequest()无重写了easyswoole的onRequest()事件，增强了context功能，不建议子类重写，子类可以实现initialize()事件即可publiconException()无重写了easyswoole的onException事件，如果控制器出错,统一返回json格式错误信息public\_emtpy($action)action未请求到方法空操作设置,子类可根据业务需要自定义实现- 更多文档正在更新中...

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 97.1% 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 ~5 days

Total

27

Last Release

2324d ago

Major Versions

v0.0.20 → v1.0.02019-10-29

PHP version history (2 changes)v0.0.7PHP &gt;=5.6.0

v0.0.18PHP &gt;=7.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ef6302d78be1eee555959fb1e9eb43578ad83603c266b0be073ada7fe015528?d=identicon)[szjcomo](/maintainers/szjcomo)

---

Top Contributors

[![szjcomo](https://avatars.githubusercontent.com/u/54160515?v=4)](https://github.com/szjcomo "szjcomo (34 commits)")[![luo200619](https://avatars.githubusercontent.com/u/20290887?v=4)](https://github.com/luo200619 "luo200619 (1 commits)")

### Embed Badge

![Health badge](/badges/szjcomo-szjcore/health.svg)

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

###  Alternatives

[topthink/think-view

thinkphp template driver

16739.3k164](/packages/topthink-think-view)[easyswoole/queue

A simple Queue implementation integrated into easySwoole

1233.3k9](/packages/easyswoole-queue)

PHPackages © 2026

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