rezozero / fsirius-sdk-v1
Forum Sirius APIv1 PHP SDK
Requires
- php: >=8.3
- ext-json: *
- doctrine/cache: ^1.7.1
- symfony/http-client: 7.4.*
- symfony/security-http: 7.4.*
Requires (Dev)
- phpstan/phpstan: *
- rector/rector: *
- symfony/error-handler: 7.4.*
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-develop / 10.x-dev
- dev-master / 9.x-dev
- 9.4.25
- 9.4.24
- 9.4.23
- 9.4.22
- 9.4.21
- 9.4.20
- 9.4.19
- 9.4.18
- 9.4.17
- 9.4.16
- 9.4.15
- 9.4.14
- 9.4.13
- 9.4.12
- 9.4.11
- 9.4.10
- 9.4.9
- 9.4.8
- 9.4.7
- 9.4.6
- 9.4.5
- 9.4.4
- 9.4.3
- 9.4.2
- 9.4.1
- 9.4.0
- 9.3.7
- 9.3.6
- 9.3.5
- 9.3.4
- 9.3.2
- 9.3.1
- 9.3.0
- 9.2.8
- 9.2.7
- 9.2.6
- 9.2.5
- 9.2.4
- 9.2.3
- 9.2.2
- 9.2.1
- 9.2.0
- 9.1.17
- 9.1.16
- 9.1.15
- 9.1.14
- 9.1.13
- 9.1.12
- 9.1.11
- 9.1.10
- 9.1.9
- 9.1.8
- 9.1.7
- 9.1.6
- 9.1.5
- 9.1.4
- 9.1.3
- v8.x-dev
- 8.3.11
- 8.3.10
- 8.3.9
- 8.3.8
- 8.3.7
- 8.3.6
- 8.3.5
- 8.3.4
- 8.3.3
- 8.3.2
- 8.3.1
- 8.3.0
- 8.2.25
- 8.2.24
- 8.2.22
- 8.2.21
- 8.2.20
- v7.x-dev
- 7.1.17
- 7.1.16
- 7.1.15
- 7.1.14
- 7.1.13
- 7.1.12
- 7.1.11
- 7.1.10
- 7.1.9
- 7.1.8
- 7.1.7
- 7.1.6
- 7.1.5
- 7.1.4
- 7.1.3
- 7.1.2
- 7.1.1
- 7.1.0
- 7.0.39
- 7.0.38
- v6.x-dev
- 5.0.1
- 5.0.0
- 4.0.0
- 3.1.0
- 3.0.0
- 2.0.0
- 1.2.1
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- v1.0.x-dev
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2026-09-07 09:21:42 UTC
README
Open-source (MIT) PHP SDK. Source: https://github.com/rezozero/fsirius-sdk-v1
Install with Composer:
composer require rezozero/fsirius-sdk-v1
Use Symfony HTTP Client
Available methods:
- Contexte
- ListeSC
- ParamSC
- DispoListeSC
Events « séances » are mapped to RZ\FSirius\EventDate object by calling $client->getEventDates($sessionToken, $eventId).
Get a session token by calling:
$client->setEventId($eventId); $sessionToken = $client->getSessionToken();
Authentication
This package provides a simple Account and Symfony Authenticator: SiriusAccountAuthenticator to authenticate Sirius customer.
However, you must provide your own CredentialsInterface implementation because Sirius does not provide SSO mechanism.
For example, you can create a password-less authentication system using JWT sent by email combined with $account->getSurvey() to
check user permissions.
$surveyFields = explode(';', $user->getSurvey() ?? ''); if (false === $surveyFields || !in_array($this->professionalField, $surveyFields)) { throw new BadCredentialsException('account_is_not_professional'); }
Timezone
Be careful, Forum Sirius API servers are using Europe/Paris timezone.
Make sure your application is configured with the same timezone.