Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/indentno/console-driver
Laravel explicit console driver for BotMan
https://github.com/indentno/console-driver
bot botman chatbot console-driver laravel laravel-command
Last synced: about 2 months ago
JSON representation
Laravel explicit console driver for BotMan
- Host: GitHub
- URL: https://github.com/indentno/console-driver
- Owner: indentno
- License: mit
- Created: 2017-02-21T08:53:31.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-13T14:30:56.000Z (almost 8 years ago)
- Last Synced: 2024-06-26T04:44:52.237Z (6 months ago)
- Topics: bot, botman, chatbot, console-driver, laravel, laravel-command
- Language: PHP
- Size: 5.86 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# console-driver [![Total Downloads](https://poser.pugx.org/sempro/console-driver/downloads)](https://packagist.org/packages/sempro/console-driver)
> Laravel explicit console driver for BotMan### WIP
#### Installation
Install with composer
```bash
composer require sempro/console-driver
```Navigate to ``config/app.php`` and add the following under providers
```php
\Sempro\ConsoleDriver\Providers\ServiceProvider::class
```Publish assets (Console chat command)
```bash
php artisan vendor:publish --force --provider="Sempro\ConsoleDriver\Providers\ConsoleDriverServiceProvider"
```Register command in ``app/Console/Kernel.php``
```php
protected $commands = [
App\Console\Commands\ConsoleChat::class
];
```#### Usage
Send a message to the bot
```bash
php artisan console:chat "Your message here"
```Send a message and log a message
```bash
php artisan console:chat "Your message here" --log
```#### License
MIT © [Sempro AS](http://www.sempro.no)