PHP code example of kalley / laravel-bigcommerce

1. Go to this page and download the library: Download kalley/laravel-bigcommerce library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

kalley / laravel-bigcommerce example snippets


'Kalley\LaravelBigcommerce\LaravelBigcommerceServiceProvider',

'Bigcommerce' => 'Kalley\LaravelBigcommerce\Client',

php artisan config:publish kalley/laravel-bigcommerce

php artisan bigcommerce:migrations

Bigcommerce::createCustomerAddress($customer_id, $object);

Bigcommerce::getCountries($filter=false, $force=false);

Bigcommerce::getCountry($id);

Bigcommerce::getCountryStates($country_id, $filter=false, $force=false);

Bigcommerce::getCountryState($country_id, $id);
app/config/app.php
app/config/packages/kalley/laravel-bigcommerce/bigcommerce.php