Download the PHP package close/partner-sdk without Composer

On this page you can find all versions of the php package close/partner-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 partner-sdk

Close SDK for PHP

Lastest Version Run PHP Unit tests Apache 2 License

The Close SDK for PHP makes it easy for developers to communicate with The Close App in their PHP code. Get started really fast by installing the SDK through Composer.

Jump To:

Getting Started

  1. Get your credentials – Before you begin, you need to already have an account with Close. If that is not the case, feel free to contact us.
  2. Minimum requirements – In order to use the Close SDK, your system will need to meet the [minimum requirements][docs-requirements], which includes having PHP >= 7.4.
  3. Install the SDK – The recommended way to use the Close SDK is by installing it with Composer:

  4. Using the SDK – In this page you will learn how to use the SDK, but if you want to get more information about the calls, you can always see our Close Partner API Documentation, which this SDK is a wrapper of.

Quick Examples

Create the Close SDK client

Import tickets using the Close App

Import ticket with required information

Import ticket with seat information

Cancelling tickets

Cancel a ticket in the Close App

Sending messages

Send a message to all users in a chat

Flow Properties

To set a value in the flow properties

Setting properties in the chat

You can also retrieve and set properties that will be available for everyone who is in the chat of the show.

For retrieving all the flow properties:

For setting a property for the whole chat:

Getting Help

Feel free to let us know if you have encountered any questions or problems using our SDK. We will try to make sure that we will get back to you as soon as possible.

Features

Advanced features

  1. In case you want to make usage of your own HttpClient, you can provide the implementation to the client builder when instantiating our SDK:

Important: The client needs to implement the PSR-7 conventions to be accepted by our SDK.

  1. In case you don't provide any instance, we use the discovery functionality from HttpPlug, which look up for an available implementation of \Http\Client\HttpClient.

Contributing

If you have ideas on how to improve our SDK, don't hesitate to open an issue and let us know! If you already have code ready that would help us improve our system, you are free to open a PR. All the extra help is highly appreciated!

Resources


All versions of partner-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0|^8.1
psr/http-factory Version ^1.0
psr/http-client Version ^1.0
php-http/client-common Version ^2.5
php-http/discovery Version ^1.14
symfony/options-resolver Version ^5.4
ext-json Version *
php-http/guzzle7-adapter Version ^1.0
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 close/partner-sdk contains the following files

Loading the files please wait ....