Skip to content

Commit

Permalink
update README to using lumen
Browse files Browse the repository at this point in the history
  • Loading branch information
shenguu committed Apr 10, 2024
1 parent 2e2b6ba commit 85fb7fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ composer require php-mqtt/laravel-client
The package will register itself through Laravel auto discovery of packages.
Registered will be the service provider as well as an `MQTT` facade.

If you are using Lumen, You need to manually add the following code to ` bootstrap/app.php`
```php
$app->register(PhpMqtt\Client\MqttClientServiceProvider::class);
```

After installing the package, you should publish the configuration file using

```bash
Expand Down

0 comments on commit 85fb7fe

Please sign in to comment.