PHPackages                             ip1sms/ip1-php-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. ip1sms/ip1-php-sdk

ActiveLibrary[API Development](/categories/api)

ip1sms/ip1-php-sdk
==================

A PHP client library for the IP1SMS RESTful API

0.3.3-beta(8y ago)212[4 issues](https://github.com/iP1SMS/ip1-php-sdk/issues)LGPL-3.0PHPPHP ^7.1.1CI failing

Since Mar 14Pushed 8y ago4 watchersCompare

[ Source](https://github.com/iP1SMS/ip1-php-sdk)[ Packagist](https://packagist.org/packages/ip1sms/ip1-php-sdk)[ RSS](/packages/ip1sms-ip1-php-sdk/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (3)Versions (24)Used By (0)

IP1 RESTClient
==============

[](#ip1-restclient)

[![Build Status](https://camo.githubusercontent.com/bcc6b9e91e93efede8a43b0be5cdde1b85ccedae4906daa257e8521de34fc257/68747470733a2f2f7472617669732d63692e6f72672f695031534d532f6970312d7068702d73646b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/iP1SMS/ip1-php-sdk)[![Code Climate](https://camo.githubusercontent.com/02ebf90cd1883bce0d341f045a4b0470dc746cb7e6be76f50e4191968fca8647/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f695031534d532f6970312d7068702d73646b2f6261646765732f6770612e737667)](https://codeclimate.com/github/iP1SMS/ip1-php-sdk)[![SensioLabsInsight](https://camo.githubusercontent.com/020465ce4b40724d6fc7bb524928657fac31ff4800c982510c5ea5fc21688493/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f39346331336632382d653864612d343032332d386561622d6434373763623130663865352f6d696e692e706e67)](https://insight.sensiolabs.com/projects/94c13f28-e8da-4023-8eab-d477cb10f8e5)

A PHP SDK for IP1's SMS services.

**Note: This package is in a beta stage and it's not recommended for use in production**

Getting Started
---------------

[](#getting-started)

### Installing

[](#installing)

Install using Composer.

```
{
  "require": {
    "ip1sms/ip1-php-sdk": "*"
  }
}
```

### Getting API Credentials

[](#getting-api-credentials)

#### Paid Method

[](#paid-method)

Visit the [IP1 SMS Shop](https://shop.ip1sms.com/#!/cart) and add an SMS balance or service of your choice and then proceed to checkout. Create an account at the under Customer information. When done click `Pay by Card` and pay for chosen balance or service. An email has by this point been sent to you with login and API credentials. The ones you're interested in for using the API are Account ID and API Key.

#### Free Method

[](#free-method)

Create a free test-account at: [app.ip1sms.com](https://app.ip1sms.com/account/signup)

Then log in at this [link](https://app.ip1sms.com/login/) using the credentials sent to the phone number provided via SMS. Once logged in click on Settings and then SMS Gateway API and you will be presented in the left panel with an account ID. The API Key will be sent to the phone number provided on registration when the Send API Key is clicked.

**Note: You can verify your account and get €1 of credit if you verify your account by pressing** `Verify yourself for test credits` **In the middle left**.

### Basic Usage

[](#basic-usage)

###### Sending a text message.

[](#sending-a-text-message)

```
