{"id":29926513,"url":"https://github.com/imbue/sendcloud-api-php","last_synced_at":"2025-08-02T12:41:38.158Z","repository":{"id":45310337,"uuid":"188592351","full_name":"imbue/sendcloud-api-php","owner":"imbue","description":"SendCloud API client library for PHP. SendCloud is a European shipping software for e-commerce.","archived":false,"fork":false,"pushed_at":"2024-09-16T11:45:35.000Z","size":49,"stargazers_count":4,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-16T13:28:24.594Z","etag":null,"topics":["api","client","parcel","php","sendcloud","shipping","shipping-software"],"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/imbue.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-25T17:05:20.000Z","updated_at":"2024-09-16T11:44:48.000Z","dependencies_parsed_at":"2024-09-16T13:11:51.207Z","dependency_job_id":"03a967e8-1391-4057-ba6c-28c6350d4b08","html_url":"https://github.com/imbue/sendcloud-api-php","commit_stats":{"total_commits":20,"total_committers":4,"mean_commits":5.0,"dds":0.6,"last_synced_commit":"c5aad8d19fcf7a70650c9e04b4a7d893c4bb0c0d"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/imbue/sendcloud-api-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbue%2Fsendcloud-api-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbue%2Fsendcloud-api-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbue%2Fsendcloud-api-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbue%2Fsendcloud-api-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imbue","download_url":"https://codeload.github.com/imbue/sendcloud-api-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbue%2Fsendcloud-api-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268392000,"owners_count":24243296,"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-08-02T02:00:12.353Z","response_time":74,"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":["api","client","parcel","php","sendcloud","shipping","shipping-software"],"created_at":"2025-08-02T12:41:35.482Z","updated_at":"2025-08-02T12:41:38.132Z","avatar_url":"https://github.com/imbue.png","language":"PHP","readme":"\u003ch1 align=\"center\"\u003eSendCloud API client for PHP\u003c/h1\u003e\n\n\u003cimg src=\"https://i.imgur.com/8M1YeVx.png\" /\u003e\n\n[![Tests](https://github.com/imbue/sendcloud-api-php/actions/workflows/test.yml/badge.svg)](https://github.com/imbue/sendcloud-api-php/actions/workflows/test.yml)\n[![Latest Stable Version](https://poser.pugx.org/imbue/sendcloud-api-php/v/stable)](https://packagist.org/packages/imbue/sendcloud-api-php)\n[![Downloads](https://img.shields.io/packagist/dt/imbue/sendcloud-api-php.svg)](https://packagist.org/packages/imbue/sendcloud-api-php)\n\n\u003e Note that this library does not yet implement the complete functionality of the SendCloud API. Feel free to open a merge request with the additional implementation.\n\n## Installation\n\n```\n$ composer require imbue/sendcloud-api-php\n```\n\n## Getting started\n\nInitialize the SendCloud API client\n\n```php\n$sendCloud = new \\Imbue\\SendCloud\\SendCloudApiClient();\n$sendCloud-\u003esetApiAuth('gb3iogpp8uf74p92holav67ij7jmpswe', '1m9mtv4ylnd8fy0xb61ury81pt6xp3fh');\n```\n\nCreating a new parcel\n\n```php\n$parcel = $sendCloud-\u003eparcels-\u003ecreate([\n    'parcel' =\u003e [\n        'name' =\u003e 'Julie Appleseed',\n        'company_name' =\u003e 'SendCloud',\n        'address' =\u003e 'Insulindelaan 115',\n        'house_number' =\u003e 115,\n        'city' =\u003e 'Eindhoven',\n        'postal_code' =\u003e '5642CV',\n        'telephone' =\u003e '+31612345678',\n        'request_label' =\u003e true,\n        'email' =\u003e 'julie@appleseed.com',\n        'country' =\u003e 'NL',\n        'shipment' =\u003e [\n            'id' =\u003e 8,\n        ],\n        'weight' =\u003e '10.000',\n        'order_number' =\u003e '1234567890',\n        'insured_value' =\u003e 2000,\n    ]\n]);\n```\n\nInsert or update (upsert) shipment for an integration\n\n```php\n$shipment = $sendCloud-\u003eintegrationShipments-\u003eupsert(1346, [\n    'name' =\u003e 'Julie Appleseed',\n    'company_name' =\u003e 'SendCloud',\n    'address' =\u003e 'Insulindelaan 115',\n    'house_number' =\u003e 115,\n    'city' =\u003e 'Eindhoven',\n    'postal_code' =\u003e '5642CV',\n    'telephone' =\u003e '+31612345678',\n    'request_label' =\u003e true,\n    'email' =\u003e 'julie@appleseed.com',\n    'country' =\u003e 'NL',\n    'shipment' =\u003e [\n        'id' =\u003e 8,\n    ],\n    'weight' =\u003e '10.000',\n    'order_number' =\u003e '1234567890',\n    'insured_value' =\u003e 2000,\n]);\n```\n\nRetrieve a list of integrations\n\n```php\n$sendCloud-\u003eintegrations-\u003elist();\n```\n\nRetrieve a single parcel\n```php\n$sendCloud-\u003eparcels-\u003eget($id);\n```\n\n##### Partner ID\n\nIf you are a partner of SendCloud, you can set the `partner id`. The library will ensure it will be added as header to the request.\n\n```php\n$sendCloud-\u003esetPartnerId('3dd88a04-26e4-4959-af11-f5674491573e')\n```\n\n\n## List of available methods\n\n### Integrations\n- List\n\n### Integration Shipments\n- List\n- Upsert (Update or create)\n\n### Invoices\n- List\n- Find\n\n### Parcels\n- Get\n- List\n- Create\n- Cancel\n\n### Parcel statuses\n- List\n\n### Sender addresses\n- Get\n- List\n\n### Shipping methods\n- Get\n- List\n\n### Labels\n- Get\n- Print\n- Get labels as PDF\n\n### User\n- Get\n\n\n## Roadmap\n\n- Implement all possible endpoints\n- Add PHPUnit tests\n\n\n## Want to help improving the library?\n\nI will happily accept new [pull requests](https://github.com/imbue/sendcloud-api-php/pulls).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimbue%2Fsendcloud-api-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimbue%2Fsendcloud-api-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimbue%2Fsendcloud-api-php/lists"}