Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Basic Shopify Api Laravel Package

osiset/basic-shopify-api

A lightweight PHP library for Shopify’s REST and GraphQL Admin APIs. Provides a clean client, request/response handling, pagination helpers, rate limit awareness, and easy authentication setup. Ideal for building Shopify apps or integrating stores in any PHP project.

View on GitHub
Deep Wiki
Context7
v10.0.6
  • 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
v10.0.5
v10.0.4
v10.0.3
  • Use of null coalescing where possible
  • Move final flag from ResponseAccess class to it's constructor
v10.0.2
  • Added final flag to ResponseAccess class (#103)
  • CI improvements (#103)
v10.0.1
  • Fix for Graph API limit calls not accessing the correct index for last call data
  • Update for microtime for rate limiter
v9.1.2
v9.1.1
  • Implemented Iterable and Countable on ResponseAccess
  • Added methods keys and values to allow for getting keys and values easier
  • Add JSON serilize method
v9.1.0
  • 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
v9.0.0

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
v6.1.2
  • Fix for REST calls not properly building error object (#47).
v6.1.0

Added support for page_info pagination for #39

v6.0.0

Added ability to use Guzzle promises and asynchronous. New method: restAsync.

See README, UPGRADING, and CHANGELOG for more details.

v5.4.0

Added option to supply a PSR-compatible logger via setLogger.

v5.3.0
  • Added support for versioned API calls for both REST and GraphAPI
  • New setVersion(string $version) method added, and new getVersion() method added
v5.1.0
v5.0.0
  • 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)

See changelog/upgrading docs for details.

v4.0.2
  • Better detection of GraphQL errors.
v4.0.1
  • Added abilities for rate limiting (basic) built into the library
v3.0.3

Fix for issue #13 where limit header is not always supplied.

v3.0.2
  • Adjusted API to work better with Shopify's implementation of GraphQL (#10)
  • graph() call now accepts two arguments, graph(string $query, array $variables = [])
v3.0.1
  • Fix to obtaining access token
v3.0.0

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
v2.0.0

Contains breaking changes

  • No longer a single file, it now namespaced under OhmyBrew\ShopifyAPI
  • GraphQL is now introduced under OhMyBrew\ShopifyAPI\GraphAPI
  • REST is moved to OhMyBrew\ShopifyAPI\RestAPI

Fixes #7 merged from #8

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
make-dev/orca
dmstr/symfony-system-resources-bundle
dmstr/symfony-job-queue-bundle
dmstr/openapi-json-schema-bundle
dmstr/keycloak-security-bundle
dmstr/doctrine-audit-log-bundle
dmstr/api-platform-utils-bundle
dmstr/api-configuration-bundle
chrisdev/ux-components
baks-dev/finances
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle