{"id":30108204,"url":"https://github.com/bitxpilot/alpaca-broker-php-sdk","last_synced_at":"2025-08-10T02:08:18.750Z","repository":{"id":65441332,"uuid":"591543682","full_name":"bitXpilot/alpaca-broker-php-sdk","owner":"bitXpilot","description":"It's a PHP SDK for Alpaca Broker API","archived":false,"fork":false,"pushed_at":"2023-02-17T18:10:46.000Z","size":60,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T21:09:45.482Z","etag":null,"topics":["alpaca","alpaca-api","alpaca-broker-api","api","php-sdk","php8","sdk"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitXpilot.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-01-21T03:10:01.000Z","updated_at":"2023-03-21T20:07:16.000Z","dependencies_parsed_at":"2023-03-01T12:15:24.894Z","dependency_job_id":null,"html_url":"https://github.com/bitXpilot/alpaca-broker-php-sdk","commit_stats":null,"previous_names":["mickeystar29/alpaca-broker-php-sdk","jackeystar0209/alpaca-broker-php-sdk","devstar0209/alpaca-broker-php-sdk","gitdevstar/alpaca-broker-php-sdk","bitxpilot/alpaca-broker-php-sdk"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/bitXpilot/alpaca-broker-php-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitXpilot%2Falpaca-broker-php-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitXpilot%2Falpaca-broker-php-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitXpilot%2Falpaca-broker-php-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitXpilot%2Falpaca-broker-php-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitXpilot","download_url":"https://codeload.github.com/bitXpilot/alpaca-broker-php-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitXpilot%2Falpaca-broker-php-sdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269663702,"owners_count":24455828,"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-10T02:00:08.965Z","response_time":71,"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":["alpaca","alpaca-api","alpaca-broker-api","api","php-sdk","php8","sdk"],"created_at":"2025-08-10T02:08:18.189Z","updated_at":"2025-08-10T02:08:18.740Z","avatar_url":"https://github.com/bitXpilot.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# alpaca-broker-php-sdk\nIt's a PHP SDK for Alpaca Broker API\n\n[![Laravel 8|9](https://img.shields.io/badge/Laravel-8|9-orange.svg)](http://laravel.com)\n\n[![Latest Stable Version](https://img.shields.io/packagist/v/devstar/alpaca-broker-php-sdk.svg)](https://packagist.org/packagesdevstar/alpaca-broker-php-sdk)\n\n[![Total Downloads](https://poser.pugx.org/devstar/alpaca-broker-php-sdk/downloads.png)](https://packagist.org/packages/devstar/alpaca-broker-php-sdk)\n\n[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://packagist.org/packages/devstar/alpaca-broker-php-sdk)\n\n## Requirements\n- [PHP \u003e= 8.0.2](http://php.net/)\n- [Laravel Framework](https://github.com/laravel/framework)\n## Install\ncomposer require devstar/alpaca-broker-php-sdk\n\n## Usage\n ### Create Alpaca Broker client\n$this-\u003ealpaca = new Alpaca($key, $secret, $mode == 'pepper' ? true: false);\n\n ### Open an account\n$this-\u003ealpaca-\u003eaccount-\u003ecreate($params);\n\n ### Search all assets\n$this-\u003ealpaca-\u003easset-\u003egetAssetsAll();\n\n ### Create an order\n$this-\u003ealpaca-\u003etrade-\u003ecreateOrder($account_id, $params);\n\n ### Transfer\n$this-\u003ealpaca-\u003efunding-\u003ecreateTransferEntity($account_id, $params);\n\n ### Document upload\n$this-\u003ealpaca-\u003edocument-\u003eupload($account_id, $params);\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitxpilot%2Falpaca-broker-php-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitxpilot%2Falpaca-broker-php-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitxpilot%2Falpaca-broker-php-sdk/lists"}