Package Data | |
---|---|
Maintainer Username: | indentno |
Maintainer Contact: | post@sempro.no (Sempro AS) |
Package Create Date: | 2017-02-21 |
Package Last Update: | 2017-03-13 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-02-09 15:08:50 |
Package Statistics | |
---|---|
Total Downloads: | 43 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 6 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Laravel explicit console driver for BotMan
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
];
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
MIT © Sempro AS