Download the PHP package raylin666/event-dispatcher without Composer

On this page you can find all versions of the php package raylin666/event-dispatcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package event-dispatcher

PSR-14 事件派发与监听器

GitHub release PHP version

环境要求

安装说明

使用方式

event 是一个事件派发系统。它派发一个事件,并以优先级顺序调用预先定义的事件处理程序。

事件系统由以下5个概念构成:

事件 (Event): Event 是事件信息的载体,它往往围绕一个动作进行描述,例如 “用户被创建了”、“准备导出 excel 文件” 等等,Event 的内部需要包含当前事件的所有信息,以便后续的处理程序使用。
监听器 (Listener): Listener 是事件处理程序,负责在发生某一事件(Event)时执行特定的操作。
Listener Provider: 它负责将事件(Event)与监听器(Listener)进行关联,在触发一个事件时,Listener Provider 需要提供绑定在该事件上的所有监听器。
派发器 (Dispatcher): 负责通知某一事件发生了。我们所说的“向某一目标派发一个事件”,这里的“目标”指的是 Listener Provider,也就是说,Dispatcher 向 Listener Provider 派发了 Event。
订阅器 (Subscriber): 订阅器是 Listener Provider 的扩展,它可以将不同的事件和订阅器里的方法进行自由绑定,这些操作都在订阅器内部进行,这样可以将同类事件的绑定与处理内聚,便于管理。

更新日志

请查看 CHANGELOG.md

联系

如果你在使用中遇到问题,请联系: kaka 梦很美

License MIT


All versions of event-dispatcher with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
ext-swoole Version >=4.4.5
ext-json Version >=1.0
ext-openssl Version >=7.2
raylin666/utils Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package raylin666/event-dispatcher contains the following files

Loading the files please wait ....