A package to communicate with Shopify from your Laravel application.
Table of Contents
You can install the package via composer:
composer require signifly/laravel-shopify
The package will automatically register itself.
Publish the config file with:
php artisan vendor:publish --tag=laravel-shopify
You need to create a private app to get the necessary credentials for interacting with Shopify.
use Signifly\\Shopify\\Shopify;
$shopify = new Shopify(
env('SHOPIFY_ACCESS_TOKEN'),
env('SHOPIFY_DOMAIN'),
env('SHOPIFY_API_VERSION')
);
Resolve from the service container
Using class: