{"id":17122258,"url":"https://github.com/billbeeio/billbee-php-sdk","last_synced_at":"2025-08-20T06:32:41.339Z","repository":{"id":26059155,"uuid":"106840601","full_name":"billbeeio/billbee-php-sdk","owner":"billbeeio","description":"🔌 The official Billbee API SDK for PHP  💻","archived":false,"fork":false,"pushed_at":"2024-03-13T07:57:43.000Z","size":414,"stargazers_count":23,"open_issues_count":14,"forks_count":24,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-08-17T22:57:58.287Z","etag":null,"topics":["api","billbee","billbee-api","composer-package","ecommerce","hacktoberfest","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/billbeeio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2017-10-13T15:18:49.000Z","updated_at":"2024-11-13T08:24:01.000Z","dependencies_parsed_at":"2024-11-15T08:04:15.784Z","dependency_job_id":"d881855a-dac9-47e1-bb3c-b9b77d00035b","html_url":"https://github.com/billbeeio/billbee-php-sdk","commit_stats":{"total_commits":80,"total_committers":8,"mean_commits":10.0,"dds":0.5625,"last_synced_commit":"e17c2c3c1635242b721e8794aaf7d17bd9f7cd2f"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/billbeeio/billbee-php-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billbeeio%2Fbillbee-php-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billbeeio%2Fbillbee-php-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billbeeio%2Fbillbee-php-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billbeeio%2Fbillbee-php-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/billbeeio","download_url":"https://codeload.github.com/billbeeio/billbee-php-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billbeeio%2Fbillbee-php-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271278796,"owners_count":24731900,"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-20T02:00:09.606Z","response_time":69,"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","billbee","billbee-api","composer-package","ecommerce","hacktoberfest","php"],"created_at":"2024-10-14T18:07:05.628Z","updated_at":"2025-08-20T06:32:40.892Z","avatar_url":"https://github.com/billbeeio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Packagist](https://img.shields.io/packagist/v/billbee/billbee-api.svg)](https://packagist.org/packages/billbee/billbee-api)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/billbeeio/billbee-php-sdk/master/LICENSE)\n[![Packagist](https://img.shields.io/packagist/dt/billbee/billbee-api.svg)](https://packagist.org/packages/billbee/billbee-api)\n\n[![Logo](https://app.billbee.io/static/billbee/img/logo.png)](https://www.billbee.de)\n\n# Billbee API\nWith this package you can implement the official Billbee API in your application.\n\n## Prerequisites\n- For accessing the Billbee API you need an API Key.\nTo get an API key, send a mail to [support@billbee.de](mailto:support@billbee.de) and send us a short note about what you are building.\n- The API module must be activated in the account ([https://app.billbee.io/app_v2/settings/api/general](https://app.billbee.io/app_v2/settings/api/general))\n\n## Install\nYou can add this package as composer dependency\n```bash\n$ composer require billbee/billbee-api\n```\n\n[Instructions without composer](./doc/usage_without_composer.md)\n\n## Official API Documentation\n[https://app.billbee.io/swagger/ui/index](https://app.billbee.io/swagger/ui/index)\n\n## Usage\n\nSimply instantiate a client object for accessing the api:\n\n```php\n\u003c?php\n\nuse BillbeeDe\\BillbeeAPI\\Client;\n\n$user = 'Your Billbee username';\n$apiPassword = 'Your Billbee API Password'; // https://app.billbee.io/de/settings/api\n$apiKey = 'Your Billbee API Key';\n\n$client = new Client($user, $apiPassword, $apiKey);\n```\n\n## Example: Retrieve a list of products\n\n```php\n\u003c?php\n \nuse BillbeeDe\\BillbeeAPI\\Client;\n\n$user = 'Your Billbee username';\n$apiPassword = 'Your Billbee API Password'; // https://app.billbee.io/de/settings/api\n$apiKey = 'Your Billbee API Key';\n \n$client = new Client($user, $apiPassword, $apiKey);\n\n/** @var \\BillbeeDe\\BillbeeAPI\\Response\\GetProductsResponse $productsResponse */\n$productsResponse = $client-\u003eproducts()-\u003egetProducts($page = 1, $pageSize = 10);\n \n/** @var \\BillbeeDe\\BillbeeAPI\\Model\\Product $product */\nforeach ($productsResponse-\u003edata as $product) {\n    echo sprintf(\"Id: %s, SKU: %s, Price: %f\\n\", $product-\u003eid, $product-\u003esku, $product-\u003eprice);\n}\n```\n\n## Example: Batch requests\n\n```php\n\u003c?php\n\nuse BillbeeDe\\BillbeeAPI\\Client;\nuse BillbeeDe\\BillbeeAPI\\Response;\n\n$user = 'Your Billbee username';\n$apiPassword = 'Your Billbee API Password'; // https://app.billbee.io/de/settings/api\n$apiKey = 'Your Billbee API Key';\n \n$client = new Client($user, $apiPassword, $apiKey);\n$client-\u003eenableBatchMode();\n \n$client-\u003eproducts()-\u003egetProducts(1, 1); # Adds the request to the batch pool / returns null\n$client-\u003eorders()-\u003egetOrders(1, 1); # Adds the request to the batch pool / returns null\n$client-\u003eevents()-\u003egetEvents(1, 1); # Adds the request to the batch pool / returns null\n \n$results = $client-\u003eexecuteBatch(); # Results contain all responses in the added order\n \n/** @var Response\\GetProductsResponse $productsResult */\n$productsResult = $results[0];\n \n/** @var Response\\GetOrdersResponse $ordersResult */\n$ordersResult = $results[1];\n \n/** @var Response\\GetEventsResponse $eventsResult */\n$eventsResult = $results[2];\n```\n\n## Testing\nRun `phpunit`\n\n## Contributing\nFeel free to fork the repository and create pull-requests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillbeeio%2Fbillbee-php-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbillbeeio%2Fbillbee-php-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillbeeio%2Fbillbee-php-sdk/lists"}