Download the PHP package abhisingh159/inflow-cloud-php-sdk without Composer

On this page you can find all versions of the php package abhisingh159/inflow-cloud-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package inflow-cloud-php-sdk

inFlow Cloud PHP SDK

Standalone PHP SDK for the inFlow Cloud API.

Framework-agnostic — drop it into any PHP 8.1+ project: vanilla PHP scripts, Laravel, Symfony, Slim, CLI tools, cron workers, AWS Lambda, or any CMS/e-commerce platform (WordPress, Magento, Drupal, …). The SDK has zero knowledge of any framework; it only knows HTTP and the inFlow API.

Requirements

Installation

Configuration

The SDK reads credentials from a Config object. Do not hardcode credentials in your application — load them from environment variables or your framework's config store.

You'll need:

The SDK handles the URL structure (/{companyId}/...), auth header (Authorization: Bearer {key}), and the versioned Accept header for you. You only ever pass the resource path (e.g. /products).

Usage

Get products

Find a single product

Create a sales order

Field names above are illustrative. Confirm exact field names against the inFlow Cloud API reference.

Inventory

Customers and vendors

Error handling

The SDK throws Abhimanev\Inflow\Exception\ApiException for any non-2xx HTTP response, and Abhimanev\Inflow\Exception\InflowException for configuration or transport issues. ApiException extends InflowException, so catching the latter handles both.

Advanced: custom HTTP client

Client accepts any PSR-18 / Guzzle ClientInterface. This is useful for testing (mock responses) or for plugging in a shared HTTP client with retries / middleware / logging:

Available resources

Method Resource Endpoints
products() ProductResource /products, /products/{id}
productGroups() ProductGroupResource /product-groups, /product-groups/{id}
customers() CustomerResource /customers, /customers/{id}
salesOrders() SalesOrderResource /sales-orders, /sales-orders/{id}
inventory() InventoryResource /products/summary, /products/{id}/summary (read-only — see note below)
vendors() VendorResource /vendors, /vendors/{id}

Each resource exposes list(), find(), create(), update(), delete() — except inventory(), which is read-only. inFlow has no direct "set stock" endpoint; stock changes go through stock-adjustments / stock-counts / stock-transfers (planned for a future SDK release). Calling inventory()->create/update/delete() throws BadMethodCallException with an actionable message. Product groups expose list, find, create, and update (no delete in the public API).

License

MIT.


All versions of inflow-cloud-php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
guzzlehttp/guzzle Version ^7.8
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package abhisingh159/inflow-cloud-php-sdk contains the following files

Loading the files please wait ...