Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 965 Bytes

README.md

File metadata and controls

41 lines (33 loc) · 965 Bytes

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