Skip to content

Commit

Permalink
Merge pull request #23 from studoo-app/develop
Browse files Browse the repository at this point in the history
Add minimum-stability
  • Loading branch information
bfoujols authored Mar 27, 2023
2 parents 246389c + 8da060c commit d46ee9e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
17 changes: 3 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,15 @@

Utilisation de la librairie PHP pour l'API Ecole Directe (non officielle)

## Installation
## Installation de la librairie

```php
composer require studoo/ecole-directe-api
```

## Utilisation
## Utilisation de la librairie

Basic Authentification via le login et password fournis par Ecole Directe \
Mettre les variables d'environnement CLIENT_ID et CLIENT_SECRET via le fichier .env (dotenv)

```php
use EcoleDirecte\EcoleDirecte;

$client = new Client([
"client_id" => $_ENV["CLIENT_ID"],
"client_secret" => $_ENV["CLIENT_SECRET"],
]);
`
```
Des exemples d'utilisation sont disponibles dans le dossier `examples`.

## Documentation

Expand Down
4 changes: 2 additions & 2 deletions clover.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1679928517">
<project timestamp="1679928517">
<coverage generated="1679929902">
<project timestamp="1679929902">
<file name="/Users/redbull/Projects/studoo/ecole-directe-api/src/Client.php">
<class name="Studoo\Api\EcoleDirecte\Client" namespace="global">
<metrics complexity="4" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="35" coveredstatements="0" elements="39" coveredelements="0"/>
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"keywords": ["ecole-directe", "api", "client"],
"homepage": "https://github.com/studoo-app/ecole-directe-api",
"license": "MIT",
"minimum-stability": "dev",
"authors": [
{
"name": "Benoit Foujols",
Expand Down

0 comments on commit d46ee9e

Please sign in to comment.