events:事件驱动架构库

时间:2021-06-30 17:03:59
【文件属性】:
文件名称:events:事件驱动架构库
文件大小:12KB
文件格式:ZIP
更新时间:2021-06-30 17:03:59
PHP aztech/活动 重要通知 这个包是 aztech/events 的主要存储库,不包含任何代码。 请参考composer.json查看本包提供的包列表。 它将所有额外的插件导入到您的依赖项中,强烈建议不要依赖此包,因为它的存在主要是为了向后兼容。 稳定 安装 通过作曲家 Composer 是唯一支持的安装aztech/events 的方式。 还不知道作曲家? 。 $ composer require " aztech/events " : " ~1 " 自动加载 将以下代码添加到您的引导文件中: require_once 'vendor/autoload.php' ; 概念 aztech/events旨在为在 PHP 中构建事件驱动架构提供坚实的基础。 当前现有库中的主流方法是在同一进程内(例如,在单个 HTTP 请求期间)生成和使用事件。 虽然在大多数情况下这很好,但它不适用
【文件预览】:
events-master
----composer.json(716B)
----.travis.yml(761B)
----.scrutinizer.yml(366B)
----doc()
--------repeater.md(1KB)
--------plugins()
--------interfaces.md(2KB)
--------plugins.md(2KB)
----examples()
--------03-outofprocess-zmq-server.php(513B)
--------02-outofprocess-file.php(2KB)
--------01-inprocess.php(922B)
--------03-outofprocess-zmq-client.php(618B)
--------02-outofprocess-file-release.php(815B)
----.gitignore(68B)
----README.md(7KB)

网友评论