{"id":41198023,"url":"https://github.com/garygitton/psa-connected-car-sdk-php","last_synced_at":"2026-01-22T20:38:54.606Z","repository":{"id":62509132,"uuid":"145581765","full_name":"garygitton/psa-connected-car-sdk-php","owner":"garygitton","description":"PHP SDK for PSA Connected Car API","archived":false,"fork":false,"pushed_at":"2018-08-21T15:37:54.000Z","size":75,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-23T06:00:13.897Z","etag":null,"topics":["citroen","connected-car","generated-code","peugeot","sdk-php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"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/garygitton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-21T15:14:56.000Z","updated_at":"2024-04-23T06:00:13.899Z","dependencies_parsed_at":"2022-11-02T10:16:29.371Z","dependency_job_id":null,"html_url":"https://github.com/garygitton/psa-connected-car-sdk-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/garygitton/psa-connected-car-sdk-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garygitton%2Fpsa-connected-car-sdk-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garygitton%2Fpsa-connected-car-sdk-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garygitton%2Fpsa-connected-car-sdk-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garygitton%2Fpsa-connected-car-sdk-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garygitton","download_url":"https://codeload.github.com/garygitton/psa-connected-car-sdk-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garygitton%2Fpsa-connected-car-sdk-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28670477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T19:36:09.361Z","status":"ssl_error","status_checked_at":"2026-01-22T19:36:05.567Z","response_time":144,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["citroen","connected-car","generated-code","peugeot","sdk-php"],"created_at":"2026-01-22T20:38:54.510Z","updated_at":"2026-01-22T20:38:54.597Z","avatar_url":"https://github.com/garygitton.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# psa-connected-car-sdk-php\nThis is the first release of our connected car API. With this API you can access more than 89 signals in a car. This API is available on Peugeot, Citroën and DS cars.\n\nThis PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:\n\n- API version: 1.0.5\n- Package version: 1.0.0\n- Build package: io.swagger.codegen.languages.PhpClientCodegen\nFor more information, please visit [https://developer.psa-peugeot-citroen.com/](https://developer.psa-peugeot-citroen.com/)\n\n## Requirements\n\nPHP 5.5 and later\n\n## Installation \u0026 Usage\n### Composer\n\nTo install the bindings via [Composer](http://getcomposer.org/), add the following to `composer.json`:\n\n```\n{\n  \"repositories\": [\n    {\n      \"type\": \"git\",\n      \"url\": \"https://github.com/garygitton/psa-connected-car-sdk-php.git\"\n    }\n  ],\n  \"require\": {\n    \"garygitton/psa-connected-car-sdk-php\": \"*@dev\"\n  }\n}\n```\n\nThen run `composer install`\n\n### Manual Installation\n\nDownload the files and include `autoload.php`:\n\n```php\n    require_once('/path/to/psa-connected-car-sdk-php/vendor/autoload.php');\n```\n\n## Tests\n\nTo run the unit tests:\n\n```\ncomposer install\n./vendor/bin/phpunit\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```php\n\u003c?php\nrequire_once(__DIR__ . '/vendor/autoload.php');\n\n// Configure API key authorization: Client ID\n$config = Psa\\ConnectedCar\\Configuration::getDefaultConfiguration()-\u003esetApiKey('client_id', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = Psa\\ConnectedCar\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('client_id', 'Bearer');\n\n$apiInstance = new Psa\\ConnectedCar\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$locale = \"\"; // string | Locale. For example : fr_FR for french\n$brand = \"\"; // string | Brand of the vehicle : C for Citroën or DS, P for Peugeot\n\ntry {\n    $result = $apiInstance-\u003efetchAlertReferential($locale, $brand);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003efetchAlertReferential: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n?\u003e\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://localhost/dev/connectedcar/v1*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*DefaultApi* | [**fetchAlertReferential**](docs/Api/DefaultApi.md#fetchalertreferential) | **GET** /referential/alert | \n*DefaultApi* | [**fetchAllCrash**](docs/Api/DefaultApi.md#fetchallcrash) | **POST** /crash/list | \n*DefaultApi* | [**fetchAllEcodrivingReferential**](docs/Api/DefaultApi.md#fetchallecodrivingreferential) | **GET** /referential/ecodriving | \n*DefaultApi* | [**fetchAllEcoevaluation**](docs/Api/DefaultApi.md#fetchallecoevaluation) | **POST** /ecodriving/evaluation/list | \n*DefaultApi* | [**fetchAllEcoevaluationPerDay**](docs/Api/DefaultApi.md#fetchallecoevaluationperday) | **POST** /ecodriving/evaluation/trip/day/list | \n*DefaultApi* | [**fetchAllEcoevaluationPerMonth**](docs/Api/DefaultApi.md#fetchallecoevaluationpermonth) | **POST** /ecodriving/evaluation/trip/month/list | \n*DefaultApi* | [**fetchAllEnvironmentData**](docs/Api/DefaultApi.md#fetchallenvironmentdata) | **POST** /environment/list | \n*DefaultApi* | [**fetchAllLightStatus**](docs/Api/DefaultApi.md#fetchalllightstatus) | **POST** /running/lightstatus/list | \n*DefaultApi* | [**fetchAllMaintenanceAlert**](docs/Api/DefaultApi.md#fetchallmaintenancealert) | **POST** /maintenance/list/alert | \n*DefaultApi* | [**fetchAllMaintenanceData**](docs/Api/DefaultApi.md#fetchallmaintenancedata) | **POST** /maintenance/list | \n*DefaultApi* | [**fetchAllRunningData**](docs/Api/DefaultApi.md#fetchallrunningdata) | **POST** /running/list | \n*DefaultApi* | [**fetchAllRunningDataByVehicle**](docs/Api/DefaultApi.md#fetchallrunningdatabyvehicle) | **GET** /running/data/{vin} | \n*DefaultApi* | [**fetchAllTrip**](docs/Api/DefaultApi.md#fetchalltrip) | **POST** /trip/list | \n*DefaultApi* | [**fetchCrashByVehicle**](docs/Api/DefaultApi.md#fetchcrashbyvehicle) | **GET** /crash/get/{vin} | \n*DefaultApi* | [**fetchEcoevaluationByVehicle**](docs/Api/DefaultApi.md#fetchecoevaluationbyvehicle) | **GET** /ecodriving/evaluation/get/{vin} | \n*DefaultApi* | [**fetchEcoevaluationByVehicleAndTrip**](docs/Api/DefaultApi.md#fetchecoevaluationbyvehicleandtrip) | **GET** /ecodriving/evaluation/pertrip/{vin}/{tripid} | \n*DefaultApi* | [**fetchEcoevaluationPerDayByVehicle**](docs/Api/DefaultApi.md#fetchecoevaluationperdaybyvehicle) | **GET** /ecodriving/evaluation/trip/day/{vin} | \n*DefaultApi* | [**fetchEcoevaluationPerDaytripsByVehicle**](docs/Api/DefaultApi.md#fetchecoevaluationperdaytripsbyvehicle) | **GET** /ecodriving/evaluation/daytrips/{vin} | \n*DefaultApi* | [**fetchEcoevaluationPerMonthByVehicle**](docs/Api/DefaultApi.md#fetchecoevaluationpermonthbyvehicle) | **GET** /ecodriving/evaluation/trip/month/{vin} | \n*DefaultApi* | [**fetchEnvironmentDataByVehicle**](docs/Api/DefaultApi.md#fetchenvironmentdatabyvehicle) | **GET** /environment/get/{vin} | \n*DefaultApi* | [**fetchFuelPriceReferenceByVehicle**](docs/Api/DefaultApi.md#fetchfuelpricereferencebyvehicle) | **GET** /trip/get/reference/fuelprice/{vin} | \n*DefaultApi* | [**fetchLastDrivingAssistanceByVehicle**](docs/Api/DefaultApi.md#fetchlastdrivingassistancebyvehicle) | **GET** /safety/drivingassistance/{vin} | \n*DefaultApi* | [**fetchLastPositionByVehicle**](docs/Api/DefaultApi.md#fetchlastpositionbyvehicle) | **GET** /place/lastposition/{vin} | \n*DefaultApi* | [**fetchLastSafetyAssistanceByVehicle**](docs/Api/DefaultApi.md#fetchlastsafetyassistancebyvehicle) | **GET** /safety/safetyassistance/{vin} | \n*DefaultApi* | [**fetchLastTripEcoevaluationByVehicle**](docs/Api/DefaultApi.md#fetchlasttripecoevaluationbyvehicle) | **GET** /ecodriving/evaluation/lasttrip/{vin} | \n*DefaultApi* | [**fetchLastTripsByVehicle**](docs/Api/DefaultApi.md#fetchlasttripsbyvehicle) | **GET** /trip/last/{vin} | \n*DefaultApi* | [**fetchLightStatusByVehicle**](docs/Api/DefaultApi.md#fetchlightstatusbyvehicle) | **GET** /running/data/lightstatus/{vin} | \n*DefaultApi* | [**fetchMaintenanceAlertByVehicle**](docs/Api/DefaultApi.md#fetchmaintenancealertbyvehicle) | **GET** /maintenance/alert/{vin} | \n*DefaultApi* | [**fetchMaintenanceDataByVehicle**](docs/Api/DefaultApi.md#fetchmaintenancedatabyvehicle) | **GET** /maintenance/{vin} | \n*DefaultApi* | [**fetchMaintenanceReferential**](docs/Api/DefaultApi.md#fetchmaintenancereferential) | **GET** /referential/maintenance | \n*DefaultApi* | [**fetchPictureByVehicleAndContract**](docs/Api/DefaultApi.md#fetchpicturebyvehicleandcontract) | **POST** /vehicle/picture/{vin}/{contract} | \n*DefaultApi* | [**fetchPictureByVehicleAndContract2**](docs/Api/DefaultApi.md#fetchpicturebyvehicleandcontract2) | **GET** /vehicle/picture/{vin}/{contract} | \n*DefaultApi* | [**fetchPositionPerTripByVehicle**](docs/Api/DefaultApi.md#fetchpositionpertripbyvehicle) | **GET** /place/positions/trip/{vin} | \n*DefaultApi* | [**fetchReferenceTripByVehicle**](docs/Api/DefaultApi.md#fetchreferencetripbyvehicle) | **GET** /trip/get/referencetrip/{vin} | \n*DefaultApi* | [**fetchTripByVehicleAndTrip**](docs/Api/DefaultApi.md#fetchtripbyvehicleandtrip) | **GET** /trip/id/{vin}/{tripid} | \n*DefaultApi* | [**fetchTripPerPeridByVehicle**](docs/Api/DefaultApi.md#fetchtripperperidbyvehicle) | **GET** /trip/period/{vin} | \n*DefaultApi* | [**fetchVehicleInformationByVehicle**](docs/Api/DefaultApi.md#fetchvehicleinformationbyvehicle) | **GET** /vehicle/information/{vin} | \n*DefaultApi* | [**searchCrashByVehicle**](docs/Api/DefaultApi.md#searchcrashbyvehicle) | **GET** /crash/search/{vin} | \n*DefaultApi* | [**searchDrivingAssistancePerDayByVehicle**](docs/Api/DefaultApi.md#searchdrivingassistanceperdaybyvehicle) | **GET** /safety/search/drivingassistance/day/{vin} | \n*DefaultApi* | [**searchSafetyAssistancePerDayByVehicle**](docs/Api/DefaultApi.md#searchsafetyassistanceperdaybyvehicle) | **GET** /safety/search/safetyassistance/day/{vin} | \n*DefaultApi* | [**updateFuelPriceForTripByVehicleAndTrip**](docs/Api/DefaultApi.md#updatefuelpricefortripbyvehicleandtrip) | **PUT** /trip/update/fuelprice/{vin}/{tripid} | \n*DefaultApi* | [**updateFuelPriceReferenceByVehicle**](docs/Api/DefaultApi.md#updatefuelpricereferencebyvehicle) | **PUT** /trip/update/reference/fuelprice/{vin} | \n*DefaultApi* | [**updateReferenceTripByVehicle**](docs/Api/DefaultApi.md#updatereferencetripbyvehicle) | **PUT** /trip/update/referencetrip/{vin} | \n\n\n## Documentation For Models\n\n - [Body](docs/Model/Body.md)\n - [Body1](docs/Model/Body1.md)\n - [Body10](docs/Model/Body10.md)\n - [Body2](docs/Model/Body2.md)\n - [Body3](docs/Model/Body3.md)\n - [Body4](docs/Model/Body4.md)\n - [Body5](docs/Model/Body5.md)\n - [Body6](docs/Model/Body6.md)\n - [Body7](docs/Model/Body7.md)\n - [Body8](docs/Model/Body8.md)\n - [Body9](docs/Model/Body9.md)\n - [CrashlistTotMileage](docs/Model/CrashlistTotMileage.md)\n - [EcodrivingevaluationlistDetailedEvaluation](docs/Model/EcodrivingevaluationlistDetailedEvaluation.md)\n - [EcodrivingevaluationlistGlobalEvaluation](docs/Model/EcodrivingevaluationlistGlobalEvaluation.md)\n - [EcodrivingevaluationlistGlobalEvaluationDrivingMarkLabel](docs/Model/EcodrivingevaluationlistGlobalEvaluationDrivingMarkLabel.md)\n - [EcodrivingevaluationtripdaylistGlobalEvaluation](docs/Model/EcodrivingevaluationtripdaylistGlobalEvaluation.md)\n - [EnvironmentlistInfoDayAndNight](docs/Model/EnvironmentlistInfoDayAndNight.md)\n - [InlineResponse200](docs/Model/InlineResponse200.md)\n - [InlineResponse2001](docs/Model/InlineResponse2001.md)\n - [InlineResponse20010](docs/Model/InlineResponse20010.md)\n - [InlineResponse20011](docs/Model/InlineResponse20011.md)\n - [InlineResponse20012](docs/Model/InlineResponse20012.md)\n - [InlineResponse20013](docs/Model/InlineResponse20013.md)\n - [InlineResponse20014](docs/Model/InlineResponse20014.md)\n - [InlineResponse20015](docs/Model/InlineResponse20015.md)\n - [InlineResponse20016](docs/Model/InlineResponse20016.md)\n - [InlineResponse20016GeoLocalisation](docs/Model/InlineResponse20016GeoLocalisation.md)\n - [InlineResponse20016Trips](docs/Model/InlineResponse20016Trips.md)\n - [InlineResponse20017](docs/Model/InlineResponse20017.md)\n - [InlineResponse20018](docs/Model/InlineResponse20018.md)\n - [InlineResponse20019](docs/Model/InlineResponse20019.md)\n - [InlineResponse2001TotMileage](docs/Model/InlineResponse2001TotMileage.md)\n - [InlineResponse2002](docs/Model/InlineResponse2002.md)\n - [InlineResponse2003](docs/Model/InlineResponse2003.md)\n - [InlineResponse2004](docs/Model/InlineResponse2004.md)\n - [InlineResponse2004GlobalEvaluation](docs/Model/InlineResponse2004GlobalEvaluation.md)\n - [InlineResponse2005](docs/Model/InlineResponse2005.md)\n - [InlineResponse2006](docs/Model/InlineResponse2006.md)\n - [InlineResponse2006Fuel](docs/Model/InlineResponse2006Fuel.md)\n - [InlineResponse2006FuelFuelTankAlerteLabel](docs/Model/InlineResponse2006FuelFuelTankAlerteLabel.md)\n - [InlineResponse2006Maintenance](docs/Model/InlineResponse2006Maintenance.md)\n - [InlineResponse2007](docs/Model/InlineResponse2007.md)\n - [InlineResponse2007ListAlert](docs/Model/InlineResponse2007ListAlert.md)\n - [InlineResponse2008](docs/Model/InlineResponse2008.md)\n - [InlineResponse2008ListAlert](docs/Model/InlineResponse2008ListAlert.md)\n - [InlineResponse2009](docs/Model/InlineResponse2009.md)\n - [InlineResponse2009Latitude](docs/Model/InlineResponse2009Latitude.md)\n - [RunninglightstatuslistFogFront](docs/Model/RunninglightstatuslistFogFront.md)\n - [RunninglistInstFuelConsumption](docs/Model/RunninglistInstFuelConsumption.md)\n - [RunninglistModeBV](docs/Model/RunninglistModeBV.md)\n\n\n## Documentation For Authorization\n\n\n## Client ID\n\n- **Type**: API key\n- **API key parameter name**: client_id\n- **Location**: URL query string\n\n\n## Author\n\nconnectedcar@mpsa.com\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarygitton%2Fpsa-connected-car-sdk-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarygitton%2Fpsa-connected-car-sdk-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarygitton%2Fpsa-connected-car-sdk-php/lists"}