update README; add Laravel stubs; add form support

This commit is contained in:
2024-11-29 14:06:14 +01:00
parent bdfcba39da
commit 3295c3da5f
7 changed files with 229 additions and 0 deletions

27
README.md Normal file
View File

@@ -0,0 +1,27 @@
# 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
```