haegemon/jasmin-web

Jasminsms web api for jcli connection.

dev-master 2016-07-06 15:39 UTC

This package is not auto-updated.

Last update: 2024-11-09 20:22:56 UTC


README

Simple package that allow work with jasmin-sms settings with php. Allow change settings for outer services.

Installation

Require this package in your composer.json file:

"haegemon/jasmin-web": "dev-master"

...then run composer update to download the package to your vendor directory.

Usage

Package base on telnet connection on jasmin admin service. Package translate php object property to console commands for jasmin admin service. Package allow show all, create, update, delete entities.

Realise base part of working with User, Group, Connector, Filter (User filter, Connector filter), MtRouter (Static router), Morouter (Static router).

Examples:

You can find some expamples at folder examples.

Test

All test based on phpunit. You should set environment variables for set connection params:

  • jasmin_admin_username - Username for test connection
  • jasmin_admin_password - Password for test connection
  • jasmin_admin_host - Host for test connection
  • jasmin_admin_port - port for test connection