sempro / console-driver
Laravel explicit console driver for BotMan
Installs: 42
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 0
Open Issues: 0
Type:module
Requires
- php: >=5.5.9
This package is auto-updated.
Last update: 2024-10-15 22:56:09 UTC
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