{"id":32613864,"url":"https://github.com/rezozero/fsirius-sdk-v1","last_synced_at":"2025-10-30T15:55:12.069Z","repository":{"id":62535341,"uuid":"103253841","full_name":"rezozero/fsirius-sdk-v1","owner":"rezozero","description":"Forum Sirius APIv1 PHP SDK","archived":false,"fork":false,"pushed_at":"2025-08-11T07:50:18.000Z","size":126,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-11T09:30:26.808Z","etag":null,"topics":["forumsirius","php7","sdk-php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rezozero.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-09-12T09:57:55.000Z","updated_at":"2025-08-11T07:50:18.000Z","dependencies_parsed_at":"2024-02-13T15:00:55.696Z","dependency_job_id":"c0b8ff20-80c6-41ac-b561-63068581780e","html_url":"https://github.com/rezozero/fsirius-sdk-v1","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/rezozero/fsirius-sdk-v1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezozero%2Ffsirius-sdk-v1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezozero%2Ffsirius-sdk-v1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezozero%2Ffsirius-sdk-v1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezozero%2Ffsirius-sdk-v1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rezozero","download_url":"https://codeload.github.com/rezozero/fsirius-sdk-v1/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezozero%2Ffsirius-sdk-v1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281835582,"owners_count":26569857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["forumsirius","php7","sdk-php"],"created_at":"2025-10-30T15:55:01.341Z","updated_at":"2025-10-30T15:55:12.063Z","avatar_url":"https://github.com/rezozero.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Forum Sirius APIv1 PHP SDK\n**Use Symfony HTTP Client**\n\nAvailable methods:\n\n- Contexte\n- ListeSC\n- ParamSC\n- DispoListeSC\n\nEvents « séances » are mapped to `RZ\\FSirius\\EventDate` object by calling `$client-\u003egetEventDates($sessionToken, $eventId)`.\n\nGet a session token by calling: \n\n```php\n$client-\u003esetEventId($eventId); \n$sessionToken = $client-\u003egetSessionToken();\n```\n\n## Authentication\n\nThis package provides a simple `Account` and [Symfony Authenticator](https://symfony.com/doc/current/security/custom_authenticator.html#security-passports): `SiriusAccountAuthenticator` to authenticate Sirius customer. \nHowever, you must provide your own `CredentialsInterface` implementation because Sirius does not provide SSO mechanism.\nFor example, you can create a *password-less* authentication system using JWT sent by email combined with `$account-\u003egetSurvey()` to\ncheck user permissions.\n\n```php\n$surveyFields = explode(';', $user-\u003egetSurvey() ?? '');\nif (false === $surveyFields || !in_array($this-\u003eprofessionalField, $surveyFields)) {\n    throw new BadCredentialsException('account_is_not_professional');\n}\n```\n\n## Timezone\n\nBe careful, Forum Sirius API servers are using `Europe/Paris` timezone. \nMake sure your application is configured with the same timezone.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frezozero%2Ffsirius-sdk-v1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frezozero%2Ffsirius-sdk-v1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frezozero%2Ffsirius-sdk-v1/lists"}