{"repo":"bold-commerce/bold-shopify-toolkit","free":true,"listed":false,"github":"https://github.com/bold-commerce/bold-shopify-toolkit","clone":"git clone https://github.com/bold-commerce/bold-shopify-toolkit.git","description":"A Symfony Based Shopify api wrapper","language":"PHP","stars":26,"topics":["shopify","shopify-api","php","symfony","laravel","snyk-scan"],"license":"Apache-2.0","category":"ecommerce","readme_excerpt":"Bold Shopify Toolkit Purpose Bold Shopify Toolkit is a Symfony-based Shopify wrapper that makes it easy to interact with Shopify. The intention is to integrate with the API offered by Shopify and maintain consistent data structures for the models and services that access these endpoints. Getting Started This package works best with a Dependency Injection Container since there are many dependencies that need to be resolved. Prerequisites 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: (see AppServiceProvider.php ) Installing Add to composer.json Bind the appropriate models during your request lifecycle. Or for apps that use container system this will look like below above code can be part of a service provider class Bind the shop that will be using the toolkit before making calls to its services and/or models. Running the tests There is a dockerfile provided for running the tests the same way it will run on Circle Examples Create the service representing the API you would like to use: Get a single variant model: Get a collection of variant models and filter it so that we only get their titles, using the product ID: Update a variant: See tests/VariantTest.php for an example of how to serialize and deserialize a model. TODO Add more tests Add example of advance usage of ShopifyApiHandler Contributing Pull requests and id","default_branch":null,"files":null,"tree":[],"storefront":"/r/bold-commerce","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bold-commerce/bold-shopify-toolkit/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."}