Bold Shopify Toolkit is a Symfony Based Shopify Wrapper that makes it easy to interact with Shopify.
This package works best with a Dependency Injection Container since there are many dependencies that need to be resolved.
To use this package, you will need to bind Models to the following interfaces.
- ShopAccessInfo
- ShopBaseInfo
- ApplicationInfo
- ApiSleeper
An example API Sleeper has been included in this package.
Laravel: (In AppServiceProvider.php)
$this->app->bind(\BoldApps\ShopifyToolkit\Contracts\ApiSleeper::class,
\BoldApps\ShopifyToolkit\Support\ShopifyApiHandler::class);
Add to composer.json
composer require bold-commerce/bold-shopify-toolkit
Bind the appropriate models during your request lifecycle.
$this->app->bind(\BoldApps\ShopifyToolkit\Contracts\ApiSleeper::class,
\BoldApps\ShopifyToolkit\Support\ShopifyApiHandler::class);
...
vendor/bin/phpunit tests
- Add more tests
- Examples
Pull requests and ideas are welcome! Open an issue and lets talk.
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the Apache 2 License - see the LICENSE.md file for details
- Thanks to Shopify for making the best Developer Network!
- Thanks to Bold Commerce Developers for making this amazing package