PackageTrack
Sign in Get early access

gnikyt/basic-shopify-api

A basic Shopify API wrapper with REST and GraphQL support, powered by Guzzle.

v11.0.0 668K downloads/mo #4120 most downloaded on Packagist gnikyt/Basic-Shopify-API

What this package is like to depend on

Last release 4 years ago

no release in 18 months

Release timing varies

gaps range from 1 weeks to 12 months

Nearly every release is documented

notes for 38 of 40 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

40 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

40 releases · Jul 2017 to Nov 2022
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 40
  1. v11.0.0 30 Nov 2022
    Release notes
    • Changes namespace to Gnikyt
    Open source →
  2. v10.0.6 06 Sep 2022
    Release notes
    • Changes return type of iterable to match signature of iterable for PHP 8.1 (#129) by @HugoHeneault
    • Fixes documentation for private GraphQL calls (#128) by @sivaganeshsg
    Open source →
    Release notes
    • Changes return type of iterable to match signature of iterable for PHP 8.1 (#129)
    Open source →
  3. v10.0.5 08 Sep 2021
    Release notes
    Open source →
    Release notes
    • Bugfix to rate limiter (#123)
    Open source →
  4. v10.0.4 03 Sep 2021
    Release notes
    Open source →
    Release notes
    • Bugfix to rate limiter (#120)
    Open source →
  5. v10.0.3 08 Jul 2021
    Release notes
    • Use of null coalescing where possible
    • Move final flag from ResponseAccess class to it's constructor
    Open source →
    Release notes
    • Moved final flag to the constructor
    Open source →
  6. v10.0.2 02 Jul 2021
    Release notes
    • Added final flag to ResponseAccess class (#103)
    • CI improvements (#103)
    Open source →
    Release notes
    • Added final flag to ResponseAccess class
    • CI improvements
    Open source →
  7. v10.0.1 11 Mar 2021
    Release notes
    • Fix for Graph API limit calls not accessing the correct index for last call data
    • Update for microtime for rate limiter
    Open source →
    Release notes
    • Fix for Graph API limit calls not accessing the correct index for last call data
    • Update for microtime for rate limiter
    Open source →
  8. v10.0.0 14 Sep 2020
    Release notes
    • Bump Guzzle to version 8 from 7 (#83)
    Open source →
  9. v9.1.4 25 Aug 2020
    Release notes

    Implemented toArray method for ResponseAccess

    Open source →
    Release notes
    • Implemented toArray method, mainly used for Laravel integration
    Open source →
  10. v9.1.3 22 Aug 2020
    Release notes

    Updated readme and changelog

    Open source →
    Release notes
    • Fix to allow for overriding request type for data (#80)
    Open source →
  11. v9.1.2 04 Aug 2020
    Release notes
    • Oauth error handling (#77).
    Open source →
  12. v9.1.1 18 Jun 2020
    Release notes
    • Implemented Iterable and Countable on ResponseAccess
    • Added methods keys and values to allow for getting keys and values easier
    • Add JSON serilize method
    Open source →
  13. v9.1.0 12 Jun 2020
    Release notes
    • Rate limiting for REST has been improved to use a moving window method
    • Sleep deferrer now returns a float for the time microtime
    • Memory store now has a reset method to support the new rate limiting
    • Memory now accepts more then two values to support the new rate limiting
    Open source →
  14. v9.0.0 26 May 2020
    Release notes

    Contains breaking changes; Consult UPGRADING.md.

    • Library refactored and split up, no longer one file
    • Auth header handling moved into Guzzle middleware
    • API versioning handler moved into Guzzle middleware
    • Rate limiting improved and now available for GraphQL
    • Options moved into its own configuration class
    • "Retry" ability now built-in via guzzle_retry_middleware which respects Shopify's 'X-Retry-After' header
    • API responses are now mapped into a response class which can be accessed as an array or object
    • Storage of how/where rate limits, request times, and others are now changable with the StateStorage interface, and a default in-memory storage class provided
    • Both GraphQL and REST success and error returns have been normalized
    Open source →
  15. v8.2.0 19 Apr 2020
    Release notes
    • Added bodyArray to response object of rest and graph, this is the same as body except instead of a stdClass being returned, its an array.
    Open source →
  16. v8.1.0 09 Apr 2020
    Release notes
    • Added response to error callback function (#64)
    • Allow for additional client creation options (#65)
    Open source →
  17. v8.0.0 17 Mar 2020
    Release notes
    • Added return types to all functions.
    • Added async support for GraphQL via graphAsync.
    • Added support for call to /admin/oauth/access_scopes.json.
    Open source →
  18. v7.0.0 02 Mar 2020

    Nothing published for this version

  19. v6.1.3 18 Feb 2020

    Nothing published for this version

  20. v6.1.2 03 Nov 2019
    Release notes
    • Fix for REST calls not properly building error object (#47).
    Open source →
  21. v6.1.1 21 Oct 2019
    Release notes
    • Fixed extractHeaderLink for #45, to include both next and previous.
    Open source →
  22. v6.1.0 15 Oct 2019
    Release notes
    • Adds support for Link header (#39)
    Open source →
  23. v6.0.0 15 Oct 2019
    Release notes
    • Added ability to do Guzzle sync and async requests through Promises.
    • errors now returns a boolean instead of an object. body now contains the error response.
    Open source →
  24. v5.4.0 11 Jun 2019
    Release notes
    • Added option to supply a PSR-compatible logger via setLogger.
    Open source →
  25. v5.3.3 31 May 2019
    Release notes
    • Added matching to ignore certain oauth paths.
    Open source →
  26. v5.3.2 27 May 2019
    Release notes
    • Added for for issue #24 in detection of what an authable request is.
    Open source →
  27. v5.3.1 24 May 2019
    Release notes
    • Fixed merged in to prevent versioning on access token calls.
    Open source →
  28. v5.3.0 10 Apr 2019
    Release notes
    • Added support for versioned API calls for both REST and GraphAPI
    • New setVersion(string $version) method added, and new getVersion() method added
    Open source →
  29. v5.1.0 27 Feb 2019
    Release notes
    • Added a authRequest middleware to Guzzle which handles adding all needed headers and checking required API keys to run those requests
    • Fixed issue for redirect not working
    Open source →
  30. v5.0.0 26 Feb 2019
    Release notes

    Possible breaking release depending on how you handle errors

    • 400-500 errors are now captured internally and accessible through the resulting object (#16)
    • Middleware was added to the Guzzle requests to fix redirections (#16)
    Open source →
  31. v4.0.2 18 Jan 2019
    Release notes
    • Changes to the response of GraphQL calls to better check for errors.
    Open source →
  32. v4.0.1 02 Nov 2018
    Release notes
    • Update for more accurate timing
    Open source →
  33. v4.0.0 02 Nov 2018
    Release notes
    • Added rate limiting abilities (basic)
    Open source →
  34. v3.0.3 14 Sep 2018
    Release notes
    • Fix for #13 for requests where call limit header is not always supplied
    Open source →
  35. v3.0.2 26 Aug 2018
    Release notes
    • Adjusted API to work better with Shopify's implementation of GraphQL (#10)
    • graph() call now accepts two arguments, graph(string $query, array $variables = [])
    Open source →
  36. v3.0.1 23 May 2018
    Release notes
    • Fix to obtaining access token
    Open source →
  37. v3.0.0 23 May 2018
    Release notes

    Contains breaking changes

    To better the library, it has been reverted back to its original single-class form and backwards compatibile with 1.x.x

    • GraphQL and REST are all under one class
    • getApiCalls() now takes two arguments, first being rest|graph, second being the key
    • rest() is now for REST calls
    • graph() is now for GraphQL calls
    • request() is aliased to rest() for backward compatibility
    Open source →
  38. v2.0.0 17 May 2018
    Release notes

    Contains breaking changes

    • No longer a single file, it now namespaced under OhmyBrew\ShopifyAPI
    • GraphQL is now introduced under Gnikyt\ShopifyAPI\GraphAPI
    • REST is moved to Gnikyt\ShopifyAPI\RestAPI
    Open source →
  39. v1.0.1 18 Dec 2017
    Release notes
    • Fixed issue #3 by @ncpope, for newly created stores (after December 2017) not accepting GET body
    Open source →
  40. v1.0.0 06 Jul 2017
    Release notes
    • Basic API code implemented
    • Tests completed with full coverage
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive