Download the PHP package target365/sdk without Composer

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

Strex

Strex AS is a Norwegian payment and SMS gateway (Strex Connect) provider. Strex withholds an e-money license and processes more than 70 million transactions every year. Strex has more than 4.2 mill customers in Norway and are owned by the Norwegian mobile network operators (Telenor, Telia and Ice). Strex Connect is based on the Target365 marketing and communication platform.

Target365 SDK for PHP

License

Getting started

To get started, please click here: https://strex.no/strex-connect#Prispakker and register your organisation. For the SDK please send us an email at [email protected] containing your RSA public key in PEM-format. You can generate your RSA public/private key-pair using openssl like this:

Use openssl to convert it to pk8 format which PHP uses.

The file private.key should look something like this:

Please note that when using the private key in PHP you must remove all newline characters so the whole private key is in one line.

Use this openssl command to extract the public key:

You can then send us the public.key file. The file should look something like this:

For more details on using the SDK we strongly suggest you check out our PHP User Guide.

Composer

Latest Stable Version

Test Environment

Our test-environment acts as a sandbox that simulates the real API as closely as possible. This can be used to get familiar with the service before going to production. Please be ware that the simulation isn't perfect and must not be taken to have 100% fidelity.

Url: https://test.target365.io/

Production Environment

Our production environment is a mix of per-tenant isolated environments and a shared common environment. Contact [email protected] if you're interested in an isolated per-tenant environment.

Url: https://shared.target365.io/

Authors and maintainers

Target365 ([email protected])

Issues / Bugs / Questions

Please feel free to raise an issue against this repository if you have any questions or problems.

Private Key

The Target365 PHP SDK only allows RSA private keys. The private key should be passed to the \Target365\ApiSdk\ApiClient constructor. The key can optionally include -----BEGIN RSA PRIVATE KEY----- parts. You must remove all newline characters from the private key when using the PHP SDK.

Contributing

New contributors to this project are welcome. If you are interested in contributing please send an email to [email protected].

Automated Test

Automated tests use PHPUnit framework. Here are some suggested steps to run automated tests.

License

This library is released under the MIT license.


All versions of sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
guzzlehttp/guzzle Version ~7.0
phpseclib/phpseclib Version ~3.0
phpseclib/phpseclib2_compat Version ~1.0
psr/log Version ^1.0 || ^3.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 target365/sdk contains the following files

Loading the files please wait ....