Skip to content

Commit de3b48e

Browse files
Merge pull request #3 from TheDragonCode/1.x
Add publish command and tags for telemetry config
2 parents 6d6fcb4 + 12302fc commit de3b48e

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ You can install the **Laravel Telemetry** package via [Composer](https://getcomp
1616
composer require dragon-code/laravel-telemetry
1717
```
1818

19+
You can publish the config file with:
20+
21+
```bash
22+
php artisan vendor:publish --tag="telemetry"
23+
```
24+
1925
## Basic Usage
2026

2127
Register the middleware:

src/LaravelTelemetryServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public function boot(): void
1212
{
1313
$this->publishes([
1414
__DIR__ . '/../config/telemetry.php' => $this->app->configPath('telemetry.php'),
15-
]);
15+
], ['config', 'telemetry']);
1616
}
1717

1818
public function register(): void

0 commit comments

Comments
 (0)