Download the PHP package inmobile/inmobile-sdk without Composer

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

Inmobile PHP SDK for v4

Requirements

Getting started

The latest version of the client can be found on packagist here

  1. composer require inmobile/inmobile-sdk
  2. Initialize the InmobileApi class and start sending messages!

Each endpoint is split into a different class.

So the messages API would be accessed by calling ->messages(), lists API by calling ->lists() and so on.

Example:

You can find the full API documentation here: https://api.inmobile.com/docs/

Endpoints

The SDK is split up into different classes for each "endpoint" in the InMobile API.

Messages

This can be accessed by calling ->messages() on InmobileApi. Below you will find an example of all the actions.

Send message

Send one or more messages.

Send a message using a template

Send message using query

Send one message using query parameters.

Get status reports

Get all SMS reports

Cancel messages

Cancel one or multiple messages by their ID

Lists

This can be accessed by calling ->lists() on InmobileApi. Below you will find an example of all the actions.

Get all

Fetch all lists. This automatically runs through every page and returns an array of all lists.

Find

Find a list by its ID

Create

Create a new list

Update

Update a list with a new name

Delete

Delete a list by its ID

Blacklist

This can be accessed by calling ->blacklist() on InmobileApi. Below you will find an example of all the actions.

Get

Fetch a paginated list of all entries in your blacklist

Get all

Fetch all entries in a blacklist. This automatically runs through every page and returns an array of all entries.

Find by ID

Find an entry by ID

Find by phone number

Find an entry by phone number

Create

Create a new entry in the blacklist

Delete by ID

Delete an entry by ID

Delete by phone number

Delete an entry by phone number

Recipients

This can be accessed by calling ->recipients() on InmobileApi. Below you will find an example of all the actions.

Get

Get a paginated response of all recipients in a list

Get all

Fetch all recipients on a list. This automatically runs through every page and returns an array of all recipients.

Find by ID

Find a recipient by ID

Find by phone number

Find a recipient by phone number

Create

Create a recipient on a list

Update

Update a recipient on a list

Create or update

Create or update a recipient on a list if it doesn't exist.

Delete by ID

Delete a recipient by ID

Delete by phone number

Delete a recipient by phone number

Delete all recipients on a list

This deletes all recipients on the given list

GDPR

Create information deletion request

Tools

Parse phone numbers

Templates

Get all

Fetch all templates. This automatically runs through every page and returns an array of all templates.

Find

Find a template by its ID

Emails

Send email

Send an email to one or more recipients with the specified subject and text / html body.

Send email using template

Send an email to one or more recipients using a template.

Get email events

Get a paginated list of email events.

Email templates

Get all

Fetch all email templates. This automatically runs through every page and returns an array of all templates.

Find

Find an email template by its ID


All versions of inmobile-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
ext-curl Version *
ext-json Version *
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 inmobile/inmobile-sdk contains the following files

Loading the files please wait ....