{"repo":"bigcommerce/bigcommerce-api-php","free":true,"listed":false,"github":"https://github.com/bigcommerce/bigcommerce-api-php","clone":"git clone https://github.com/bigcommerce/bigcommerce-api-php.git","description":"Connect PHP applications with the Bigcommerce Platform","language":"PHP","stars":148,"topics":["php","bigcommerce","api-client"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Bigcommerce API Client ====================== PHP client for connecting to the Bigcommerce V2 REST API. To find out more, visit the official documentation website: https://developer.bigcommerce.com/ Requirements ------------ - PHP 8.1 or greater - curl extension enabled To generate an OAuth API token, follow this guide. To connect to the API with OAuth you will need the following: - client id - auth token - store hash Installation ------------ Use the following Composer command to install the API client from the Bigcommerce vendor on Packagist: shell $ composer require bigcommerce/api $ composer update You can also install composer for your specific project by running the following in the library folder. shell $ curl -sS https://getcomposer.org/installer php $ php composer.phar install $ composer install Namespace --------- All the examples below assume the Bigcommerce\\Api\\Client class is imported into the scope with the following namespace declaration: php use Bigcommerce\\Api\\Client as Bigcommerce; Configuration ------------- To use the API client in your PHP code, ensure that you can access Bigcommerce\\Api in your autoload path (using Composer’s vendor/autoload.php hook is recommended). Provide your credentials to the static configuration hook to prepare the API client for connecting to a store on the Bigcommerce platform: OAuth In order to obtain the auth token you would consume Bigcommerce::getAuthToken method during an installation of a single-click app. Alternatively, i","default_branch":null,"files":null,"tree":[],"storefront":"/r/bigcommerce","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bigcommerce/bigcommerce-api-php/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}