Download the PHP package esatisfaction/esat-php without Composer
On this page you can find all versions of the php package esatisfaction/esat-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package esat-php
e-satisfaction Http Package
PHP library for the e-satisfaction API
Requirements
PHP 7.1.0 and later.
Composer
You can install the bindings via Composer. Run the following command:
To use the bindings, use Composer's autoload:
Manual Installation
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php
file.
Dependencies
This library require the following extensions and packages in order to work properly:
panda/config
panda/helpers
ramsey/uuid
symfony/http-foundation
monolog/monolog
php-http/guzzle6-adapter
esatisfaction/http
symfony/cache
If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available and loaded.
How do I start working with services?
To start working with the SDK, you have to initialize the following:
- Setup the main Esat Registry
- Set the Authorization Scheme to be used by each service's HttpClient
Example:
Questionnaires
Read your questionnaires:
Questionnaire Instances
Create a questionnaire instance and send the link to your customers:
Read, Update or Delete Questionnaire Instances:
NOTICE: This will cause data deletion and might alter your data. It will not affect your credits as the credits are reduced on questionnaire submit.
Pipelines
Read your pipelines:
Queue Items
Add a queue item to allow e-satisfaction to send a survey:
Read, Update or Delete Queue Items:
Handling Errors
Each request stores the last response so that you can access it and get messages in case of errors.
Caching
This library is using a default runtime caching mechanism that reduces API calls during runtime.
The caching mechanism is on service level and works only on READ requests and is being reset when a POST or PATCH method is called on the same service.
If you are trying to READ the same resource twice without any updates in between, the service will hit the cache and get the same result.
You can override the cache by calling setCacheEnabled(false)
on the service before calling the method.
Examples:
Feedback
This is an open-source library for calling e-satisfaction API.
Feel free to open Issues and Pull Requests to update it or fix bugs that you might find.
Code of Conduct Guidelines
Take a look at the Code of Conduct document.
All versions of esat-php with dependencies
panda/config Version ^2.0
panda/helpers Version ^2.0
ramsey/uuid Version ^3.7
symfony/http-foundation Version ^3.3
monolog/monolog Version ^1.22
php-http/guzzle6-adapter Version ~1.0
esatisfaction/http Version ^1.0
symfony/cache Version ^4.2