PHPackages                             bud/depend - 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. bud/depend

ActiveLibrary[Framework](/categories/framework)

bud/depend
==========

An annotation declaration that adapts to the hyperf framework to cover dependency relationships

v3.1.1(1y ago)117MITPHPPHP &gt;=8.1

Since Apr 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kabudin/depend)[ Packagist](https://packagist.org/packages/bud/depend)[ RSS](/packages/bud-depend/feed)WikiDiscussions master Synced 1mo ago

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

depend
======

[](#depend)

> 适配 hyperf 框架的注解依赖器，支持权重并且同步兼容配置文件依赖

安装
--

[](#安装)

```
composer require bud/depend
```

使用方法
----

[](#使用方法)

> 当配置文件中配置了相同接口的映射并且权重高于注解声明的权重时，则注解无效

```
