Skip to content

indentno/console-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

console-driver Total Downloads

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