# Sangho PHP SDK
SDK officiel PHP pour l'API Sangho — paiements XAF pour l'Afrique.
---
## Installation
```bash
composer require sangho/sangho-php
```
## Quickstart
```php
use Sangho\Sangho;
$client = new Sangho('sk_live_...');
// Créer un payment intent
$intent = $client->paymentIntents->create([
'amount' => 5000,
'currency' => 'XAF',
'customer' => 'cust_xxx',
]);
echo $intent->id;
```
## Documentation
La documentation complète est disponible sur docs.sangho.africa.
## Ressources disponibles
`apps` · `customers` · `products` · `paymentIntents` · `checkoutSessions` ·
`invoices` · `transactions` · `refunds` · `subscriptions` · `paymentMethods` ·
`webhooks` · `paymentLinks` · `addresses` · `partners`
## Contribuer
Voir CONTRIBUTING.md.
## Changelog
Voir CHANGELOG.md.
## Licence
MIT