PHPackages                             smsorange/api-library - 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. smsorange/api-library

ActiveLibrary[API Development](/categories/api)

smsorange/api-library
=====================

SMS Orange API library

v0.1.0(10y ago)08MITPHP

Since Apr 6Pushed 10y ago1 watchersCompare

[ Source](https://github.com/smsorange/api-library)[ Packagist](https://packagist.org/packages/smsorange/api-library)[ Docs](http://sms.com.mt/)[ RSS](/packages/smsorange-api-library/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

[![SMS Orange](example/otg.png)](example/otg.png)
=================================================

[](#)

[![Build Status](https://camo.githubusercontent.com/b1c9800f4069715132099893b1de970383cc3c7a1c6a1212ab63d876f341167f/68747470733a2f2f7472617669732d63692e6f72672f736d736f72616e67652f6170692d6c6962726172792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/smsorange/api-library)

SMS Orange API package is a framework agnostic PHP library for facilitating communication between a client application and SMS Orange API endpoints.

Note
----

[](#note)

Work in progress, not for public use..

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

[](#installation)

In order to install the api package in your application, you will need composer and PHP &gt;= 5.4

If you don't have composer installed, follow these instructions first:

After confirming your composer installation, continue with the instructions below.

Put the following line in your composer require array

```
"smsorange/api-library": "dev-master"
```

or, if you do not have the composer initiated in your project, create the composer.json file in the project root and paste these lines:

```
{
  "require": {
    "smsorange/api-library": "dev-master"
  }
}
```

then, from the project root, run this command in terminal

```
composer install

```

API Token
---------

[](#api-token)

In order to use this library, you must have your API Token ready. Contact SmsOrange if you don't have one.

API Parameters
--------------

[](#api-parameters)

TypeStepMethodParametersData type / formatCruiseSearchsearchcruise\_data\[from\_date\]
 cruise\_data\[to\_date\]
 cruise\_data\[cruises\_cruise\_line\_id\]
 cruise\_data\[destination\_id\]
 cruise\_data\[ship\_code\]
 cruise\_data\[departure\_port\_id\]yyyy-mm
 yyyy-mm
 `int`
 `int`
 `int`
 `int````
        | Select        | select        | cruise-code  webservice   |  `string`  `string`      |
        | GetComponents | getComponents | fare_code*  cruise-code  guests | `string`  `string`  `array` |
        | GetAvailableCategories | getAvailableCategories | cruise-code  cruise-guests | `string`  `array` |
        | GetCabins | getCabins | cruise-code  category-code | `string`  `string` |
        | HoldCabin | holdCabin | cruise-code  cabin_number  dining_preference  first_name  last_name | `string`  `int`  `string`  `string`  `string` |
        | Book | book | cruise-code  guest_data** | `string`  `array` |

```

\*\* Guest data array for each guest, needs to contain the following keys

KeyTypefirst\_name`string`last\_name`string`localized\_name\*`string`nationality`string` (use options from the example app)gender`string` (Male, Female, NotAvailable)birth\_date`string` (dd/mm/yyyy)place\_of\_birth\*`string`language\_code`string` (use options from the example app)home\_phone`string`mobile\_phone\*`string`email\*`string`residence\_address`string`residence\_city`string`residence\_state`string`residence\_country`string` (use options from the example app)document\_type`string` (currently, only Maltese id\_card is supported)document\_number`string`document\_issue\_date`string` (dd/mm/yyyy)document\_expiration\_date`string` (dd/mm/yyyy)document\_issued\_in\_city`string`document\_issued\_in\_country`string` (use options from the example app)emergency\_info\_first\_name\*`string`emergency\_info\_last\_name\*`string`emergency\_info\_telephone\_number\*`string`- Optional

Technical documentation
-----------------------

[](#technical-documentation)

You can find the technical docs in the 'docs' folder. Just run the index.html in your browser.

License
-------

[](#license)

MIT ©

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3691d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/489efd2fc14d431ffab316b80d6855ef71c50be09dd4b3954aa816cadbb70570?d=identicon)[smsorange](/maintainers/smsorange)

---

Top Contributors

[![ivanciric](https://avatars.githubusercontent.com/u/3796581?v=4)](https://github.com/ivanciric "ivanciric (30 commits)")[![smsorange](https://avatars.githubusercontent.com/u/17846777?v=4)](https://github.com/smsorange "smsorange (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/smsorange-api-library/health.svg)

```
[![Health](https://phpackages.com/badges/smsorange-api-library/health.svg)](https://phpackages.com/packages/smsorange-api-library)
```

###  Alternatives

[alexpechkarev/google-maps

Collection of Google Maps API Web Services for Laravel

5653.2M2](/packages/alexpechkarev-google-maps)[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[dacastro4/laravel-gmail

Gmail API package for Laravel

312382.9k1](/packages/dacastro4-laravel-gmail)[dymantic/laravel-instagram-feed

Fetches the instagram feed for given authenticated profiles

151157.7k](/packages/dymantic-laravel-instagram-feed)[bandwidth/sdk

Bandwidth's set of APIs

16948.8k1](/packages/bandwidth-sdk)[messagemedia/messages-sdk

The MessageMedia Messages API provides a number of endpoints for building powerful two-way messaging applications.

13390.6k](/packages/messagemedia-messages-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
