PHPackages                             easyswoole/doctrine-annotations - 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. easyswoole/doctrine-annotations

ActiveLibrary[Framework](/categories/framework)

easyswoole/doctrine-annotations
===============================

An efficient swoole framework

1.0.1(5y ago)184.5k↑80.3%1MITPHPPHP ^7.1 || ^8.0

Since Aug 27Pushed 5y agoCompare

[ Source](https://github.com/easy-swoole/doctrine-annotations)[ Packagist](https://packagist.org/packages/easyswoole/doctrine-annotations)[ Docs](https://www.easyswoole.com/)[ RSS](/packages/easyswoole-doctrine-annotations/feed)WikiDiscussions master Synced 1mo ago

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

doctrine-annotations
====================

[](#doctrine-annotations)

版权声明
----

[](#版权声明)

本项目修改自 [doctrine/annotation](https://github.com/doctrine/annotations) , 原项目开源协议为MIT协议。为满足无法实现[plainText解析](https://github.com/doctrine/annotations/issues/358)与json array,故此实现专版。

使用
--

[](#使用)

其他使用方法与原库一致

### plaintText

[](#plainttext)

用法为：

```
 MyAnnotation(myProperty=r"{"code":200}")

```

也就是格式为

```
r"{RAW}"

```

字母r+双引号。

### json Array

[](#json-array)

用法为：

```
@PropertyTag(input={"code":2,"result":[{"name":1}]})

```

可以直接解析为完整的数组。

单元测试
----

[](#单元测试)

关于单元测试已经迁移了原库的单元测试，并增补了plainText与json array的解析

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

2

Last Release

2080d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/45c234d5f129ea570e630425636299127647534f0c2cbb073555e2c45d403d6f?d=identicon)[kiss291323003](/maintainers/kiss291323003)

---

Top Contributors

[![kiss291323003](https://avatars.githubusercontent.com/u/24490609?v=4)](https://github.com/kiss291323003 "kiss291323003 (7 commits)")

---

Tags

asyncframeworkswooleeasyswoole

### Embed Badge

![Health badge](/badges/easyswoole-doctrine-annotations/health.svg)

```
[![Health](https://phpackages.com/badges/easyswoole-doctrine-annotations/health.svg)](https://phpackages.com/packages/easyswoole-doctrine-annotations)
```

###  Alternatives

[easyswoole/easyswoole

An efficient swoole framework

4.8k186.9k50](/packages/easyswoole-easyswoole)[easyswoole/mysqli

An efficient swoole framework

34120.5k27](/packages/easyswoole-mysqli)[easyswoole/redis

easyswoole component

3391.8k12](/packages/easyswoole-redis)[easyswoole/orm

php stander lib

3088.7k17](/packages/easyswoole-orm)[easyswoole/compiler

easyswoole component

691.1k](/packages/easyswoole-compiler)[easyswoole/fast-cache

An efficient swoole framework

1030.3k2](/packages/easyswoole-fast-cache)

PHPackages © 2026

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