Download the PHP package semstorm/semstorm-php-sdk without Composer

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

SEMSTORM PHP SDK v3

Installing using composer:

Via composer require command

Via composer.json file

and then run update

Usage

Basic example

Monitoring examples

In docs/examples/Monitoring directory you can find examples with description and possible output.

Furthermore you can use MonitoringExamples.php file which will run multiple scripts and return its results. Just open docs/examples/MonitoringExamples.php file, fill config data and run script to see how API works.

More examples

For more examples see docs/examples directory, where are many samples with exhaustive comment.

Documentation

Documentation can be found in SEMSTORM API documentation pages.

SEMSTORM API

Access

Access token

In order to use SEMSTORM API, it is required to have valid access token. Access tokens are granted only to registered users in SEMSTORM. If you are registered user, log in to SEMSTORM panel, and go to access token page in profile. There you can generate or refresh your access token. When you have your access token you are ready to use SEMSTORM API.

API

API endpoint

Official API endpoint is https://api.semstorm.com/api-v3/. All requests goes through this endpoint, and all of them must be authenticated by including 'services_token' parameter.

Throttling

API have request limits. It is 1 request per second. If you make too many requests at once you will get error stating '503 Service Temporarily Unavailable. You are requesting too fast,(...)', this means you have to optimize your script to prevent further blocking.


All versions of semstorm-php-sdk with dependencies

PHP Build Version
Package Version
Requires 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 semstorm/semstorm-php-sdk contains the following files

Loading the files please wait ....