{"id":34005259,"url":"https://github.com/vmari/glovo-api-php","last_synced_at":"2026-04-10T10:04:31.857Z","repository":{"id":62543728,"uuid":"171057241","full_name":"vmari/glovo-api-php","owner":"vmari","description":"UNOFFICIAL - Create, retrieve and track your Glovo orders trough their Business API","archived":false,"fork":false,"pushed_at":"2019-02-26T17:40:48.000Z","size":142,"stargazers_count":23,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-12-14T22:36:19.217Z","etag":null,"topics":["api","delivery","glovo","pedidosya","php","rappi","sdk"],"latest_commit_sha":null,"homepage":null,"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/vmari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-16T22:10:11.000Z","updated_at":"2025-07-20T19:19:06.000Z","dependencies_parsed_at":"2022-11-02T21:15:14.270Z","dependency_job_id":null,"html_url":"https://github.com/vmari/glovo-api-php","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vmari/glovo-api-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmari%2Fglovo-api-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmari%2Fglovo-api-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmari%2Fglovo-api-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmari%2Fglovo-api-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmari","download_url":"https://codeload.github.com/vmari/glovo-api-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmari%2Fglovo-api-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31637749,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"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":["api","delivery","glovo","pedidosya","php","rappi","sdk"],"created_at":"2025-12-13T10:44:02.176Z","updated_at":"2026-04-10T10:04:31.851Z","avatar_url":"https://github.com/vmari.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Glovo PHP Business API\n\nCreate, retrieve and track your Glovo orders trough their Business API.\n\n## Requirements\n\nPHP 5.4.0 and later.\n\n## Composer\n\nYou can install the bindings via [Composer](http://getcomposer.org/). Run the following command:\n\n```bash\n$ composer require valentinmari/glovo-api-php\n```\n\nTo use the Glovo API in your project, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading):\n\n```php\nrequire_once('vendor/autoload.php');\n```\n\n## Dependencies\n\nThe bindings require the following extensions in order to work properly:\n\n- [`curl`](https://secure.php.net/manual/en/book.curl.php), although you can use your own non-cURL client if you prefer\n- [`json`](https://secure.php.net/manual/en/book.json.php)\n- [`mbstring`](https://secure.php.net/manual/en/book.mbstring.php) (Multibyte String)\n\nIf you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.\n\n## Getting Started\n\nCreate an account in Glovo (it can be created from the App). This api **needs a credit card associated to your account**. You can add one from your app and it will be used automatically for any order. In order to get your API credentials you should login in the desired environment and go to *Credentials* section on your profile.\n\n* [B2B Production](https://business.glovoapp.com/dashboard/profile)\n* [B2B Sandbox/Test](https://business.testglovo.com/dashboard/profile)\n\nExample ApiKey \u0026 ApiSecret:\n```php\n$apiKey = '125238463972712';\n$apiSecret = '081f8c9680d457a088b4413a62ddf84c';\n```\n\nSimple usage looks like:\n\n```php\n\u003c?php\n\ninclude 'vendor/autoload.php';\n\nuse Glovo\\Api;\nuse Glovo\\Model\\Order;\nuse Glovo\\Model\\Address;\n\n\n// get credentials on https://business.glovoapp.com/dashboard/profile or https://business.testglovo.com/dashboard/profile\n$api = new Api( '125238463972712', '081f8c9680d457a088b4413a62ddf84c' );\n$api-\u003esandbox_mode( true );\n\n$sourceDir = new Address( Address::TYPE_PICKUP, -34.919861, -57.919027, \"Diag. 73 1234\", \"1st floor\" );\n$destDir = new Address( Address::TYPE_DELIVERY, -34.922945, -57.990177, \"Diag. 73 75\", \"3A\");\n\n$order = new Order();\n$order-\u003esetDescription( \"1 big hammer\" );\n$order-\u003esetAddresses( [$sourceDir, $destDir] );\n//$order-\u003esetScheduleTime( ( new \\DateTime( '+1 hour' ) )-\u003esetTime( 19, 0 ) );\n\n$orderEstimate = $api-\u003eestimateOrderPrice( $order );\n\necho \"Estimate: {$orderEstimate['total']['amount']}{$orderEstimate['total']['currency']} \\n\";\n\n$orderInfo = $api-\u003ecreateOrder( $order );\n\necho \"Order created, ID: {$orderInfo['id']}, state: {$orderInfo['state']} \\n\";\n```\nSee full example in [example.php](example.php)\n\n## Update Certificates\n\nIn order to update the CA Root certificates you can run:\n```\n$ chmod +x ./update_certs.php\n$ ./update_certs.php\n```\n\n## Documentation\n\nYou can read [the Glovo B2B API docs][https://api-docs.glovoapp.com/b2b/index.html#introduction].\n\n[composer]: https://getcomposer.org/\n[curl]: http://curl.haxx.se/docs/caextract.html\n[psr3]: http://www.php-fig.org/psr/psr-3/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmari%2Fglovo-api-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmari%2Fglovo-api-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmari%2Fglovo-api-php/lists"}