PHPackages                             airalo/sdk - 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. airalo/sdk

ActiveProject[API Development](/categories/api)

airalo/sdk
==========

Airalo's Partner API PHP SDK

1.3.2(3mo ago)1516.0k↑17.3%9[2 PRs](https://github.com/Airalo/airalo-php-sdk/pulls)PHPPHP &gt;=7.4CI passing

Since Jun 4Pushed 1mo ago8 watchersCompare

[ Source](https://github.com/Airalo/airalo-php-sdk)[ Packagist](https://packagist.org/packages/airalo/sdk)[ RSS](/packages/airalo-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (13)Used By (0)

Airalo PHP SDK
==============

[](#airalo-php-sdk)

Airalo's PHP SDK provides extremely simple integration with the RESTful API and adds extra layer of security on top.
The SDK supports:

- auto authentication and encryption
- auto caching and rate limit handling
- packages fetching of local, global, country and all combined
- packages auto pagination on endpoints
- package ordering
- package bulk order allowing different packages and quantities to be bought at once
- package topup ordering
- unified response format of type `EasyAccess` which allows key access as associative array and/or object at the same time without json\_decode usage
- compatible with Unix, macOS, Windows operating systems

Requisites
==========

[](#requisites)

- PHP version &gt;= `7.4`
- `cURL` extension enabled in php.ini (enabled by default)
- `sodium` extension enabled in php.ini (enabled by default)

Autoloading
===========

[](#autoloading)

We highly encourage to always use `composer` as a dependency managed and simply require Airalo's SDK by simply running this CLI command:

```
composer require airalo/sdk

```

Then in your codebase you will have access to the `Airalo` class by having required `autoload.php` file already.

For legacy projects or projects which still do not use composer, please make sure to require `alo.php` custom autoloader from the SDK:

```
