invis1ble/messenger
最新稳定版本:v5.0.0
Composer 安装命令:
composer require invis1ble/messenger
包简介
Bus and Message Interfaces and Implementations.
关键字:
README 文档
README
Bus and Message Interfaces and Implementations.
- Command & Command Bus
- Query & Query Bus
- Event & Event Bus
Installation
To install this package, you can use Composer:
composer require invis1ble/messenger
or just add it as a dependency in your composer.json file:
{
"require": {
"invis1ble/messenger": "^5.0"
}
}
After adding the above line, run the following command to install the package:
composer install
Development
Getting started
- If not already done, install Docker Compose (v2.10+)
- Run
docker compose build --no-cacheto build fresh images - Run
docker compose up -d --waitto start the Docker containers - Run
docker compose exec php composer installto install dependencies - Run
docker compose down --remove-orphansto stop the Docker containers.
Check for Coding Standards violations
Run PHP_CodeSniffer checks:
docker compose exec -it php bin/php_codesniffer
Run PHP-CS-Fixer checks:
docker compose exec -it php bin/php-cs-fixer
Testing
To run Unit tests during development
docker compose exec php vendor/bin/phpunit
To run with coverage
XDEBUG_MODE=coverage docker compose up -d --wait
docker compose exec php vendor/bin/phpunit --coverage-clover var/log/coverage-clover.xml
License
统计信息
- 总下载量: 461
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-03