Download the PHP package infobip-community/infobip-api-php-sdk without Composer

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

Infobip API PHP SDK

Latest Stable Version Latest Unstable Version Total Downloads

This is a PHP SDK for Infobip API and you can use it as a dependency to add Infobip APIs to your application. To use this, you'll need an Infobip account. If you do not own one, you can create a free account here.

Table of contents:

General Info

For infobip-api-php-sdk versioning we use Semantic Versioning scheme.

License

Published under MIT License.

Compatibility Chart

Infobip API PHP SDK PHP
1.* 7.2.5+ / 8+

Installation

To start using the infobip-api-php-sdk library add it as dependency to your composer.json project dependency:

Or you can add it manually to composer.json file:

And then simply run composer install to download dependencies.

Basic usage

Example on how to create the InfobipClient instance. You can also define it in your DI Container and get configuration data from the env() or configuration file.

Example

A simple example of using the InfobipClient for calling the :

Exceptions

There is a couple of Infobip exceptions that you could stumble upon while using the InfobipClient:

Of course, there is a way of handling those:

Laravel

Register the InfobipServiceProvider in your config/app.php configuration file:

And then run the following command to copy the Infobip configuration file to your config directory:

After that, you can start using the Infobip API PHP SDK package in your Laravel project, just inject the InfobipClient into your codebase:

Symfony

Add and bind InfobipClient to your config/services.yaml file:

Documentation

Infobip API Documentation can be found here.

Development

Feel free to participate in this open source project. These are some console commands that could help you with the development like linter, static analysis and coding standards fixer:

For running the PHPunit tests:


All versions of infobip-api-php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2.5 || ^8.0
guzzlehttp/guzzle Version ^7.4
myclabs/php-enum Version ^1.7
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 infobip-community/infobip-api-php-sdk contains the following files

Loading the files please wait ....