PHPackages                             lox24eu/lox24\_api\_client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. lox24eu/lox24\_api\_client

ActiveLibrary[API Development](/categories/api)

lox24eu/lox24\_api\_client
==========================

LOX24 SMS GatewayAPI v2 official client

0.2.2(1y ago)1481MITPHPPHP &gt;=8.2

Since Apr 23Pushed 1y ago2 watchersCompare

[ Source](https://github.com/lox24/lox24-client-php)[ Packagist](https://packagist.org/packages/lox24eu/lox24_api_client)[ RSS](/packages/lox24eu-lox24-api-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (7)Versions (5)Used By (1)

LOX24 SMS Gateway PHP Client
============================

[](#lox24-sms-gateway-php-client)

Documentation
-------------

[](#documentation)

The documentation for the LOX24 API can be found \[here\]\[\].

Versions
--------

[](#versions)

`lox24-client-php` uses [Semantic Versioning](https://semver.org) for all changes. [See this document](VERSIONS.md) for details.

### Supported PHP Versions

[](#supported-php-versions)

This library supports the following PHP implementations:

- PHP 8.2
- PHP 8.3

Installation
------------

[](#installation)

### Compatible PSR-7 and PSR-17 Libraries

[](#compatible-psr-7-and-psr-17-libraries)

This project is compatible with a range of libraries adhering to the [PSR-17](https://www.php-fig.org/psr/psr-17/) and [PSR-18](https://www.php-fig.org/psr/psr-18/) standards. Below is a list of well-known libraries that provide robust support for these standards, ensuring flexibility and interoperability in your application's HTTP client implementation.

You could use your own or any PSR-17/PSR-18 compatible libraries, e.g.:

- [GuzzleHttp](https://github.com/guzzle/guzzle)
- [Symfony/http-client](https://symfony.com/doc/current/http_client.html#psr-18-and-psr-17)

### Install with Composer

[](#install-with-composer)

`lox24-client-php` is available on Packagist as the [`lox24eu/lox24_api_client`](https://packagist.org/packages/lox24eu/lox24_api_client) package:

```
composer require lox24eu/lox24_api_client
```

### Usage example with Guzzle HTTP client

[](#usage-example-with-guzzle-http-client)

Add Guzzle HTTP client implementation to your project:

```
composer require lox24eu/lox24_api_client
```

Example of the script which sends an SMS using LOX24's REST API and PHP:

```
// Send an SMS using LOX24's REST API and PHP
