sempro/console-driver
Composer 安装命令:
composer require sempro/console-driver
包简介
Laravel explicit console driver for BotMan
README 文档
README
Laravel explicit console driver for BotMan
WIP
Installation
Install with composer
composer require sempro/console-driver
Navigate to config/app.php and add the following under providers
\Sempro\ConsoleDriver\Providers\ServiceProvider::class
Publish assets (Console chat command)
php artisan vendor:publish --force --provider="Sempro\ConsoleDriver\Providers\ConsoleDriverServiceProvider"
Register command in app/Console/Kernel.php
protected $commands = [ App\Console\Commands\ConsoleChat::class ];
Usage
Send a message to the bot
php artisan console:chat "Your message here"
Send a message and log a message
php artisan console:chat "Your message here" --log
License
MIT © Sempro AS
统计信息
- 总下载量: 45
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-21