28 lines
384 B
Markdown
28 lines
384 B
Markdown
|
# Pilot SDK
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
```bash
|
||
|
composer config repositories.pilot vcs "https://git.bluesquare.io/bluesquare/pilot-sdk.git"
|
||
|
composer require bluesquare/pilot-sdk
|
||
|
```
|
||
|
|
||
|
## Configuration
|
||
|
|
||
|
### Laravel
|
||
|
|
||
|
Ajouter la clé d'API Pilot au `.env` :
|
||
|
|
||
|
```dotenv
|
||
|
PILOT_KEY=xxxxx
|
||
|
```
|
||
|
|
||
|
## Utilisation
|
||
|
|
||
|
### Laravel
|
||
|
|
||
|
```php
|
||
|
php artisan pilot:metric MyMetric
|
||
|
php artisan pilot:action MyAction
|
||
|
```
|