PHP code example of core45 / laravel-baselinker

1. Go to this page and download the library: Download core45/laravel-baselinker 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/ */

    

core45 / laravel-baselinker example snippets


use Core45\LaravelBaselinker\Facades\Baselinker;

$categories = Baselinker::categories()->getCategories();

use Core45\LaravelBaselinker\Facades\Baselinker;

$catalog = Baselinker::catalog();
$result = $catalog->addInventoryPriceGroup('For Spain', 'Price group for Spain', 'EUR');

php artisan vendor:publish --provider="Core45\LaravelBaselinker\BaselinkerServiceProvider"