Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

acpmasquerade/sms-counter-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMS Counter (PHP)

Character counter for SMS Messages Original insipration : danxexe/sms-counter

Build Status

Usage

SMSCounter::count('some-string-to-be-counted');	

which returns

stdClass Object
(
	[encoding] => GSM_7BIT
	[length] => 25
	[per_message] => 160
	[remaining] => 135
	[messages] => 1
)

Installation

sms-counter-php is available via composer on packagist.

{
    "require": {
        "instasent/sms-counter-php": "dev-master"
    }
}

Install from Instasent repo

(PS: Separately maintained and slightly deviated.) Please check their documentation before updating your existing installation.

https://github.com/instasent/sms-counter-php sms-counter-php is available via composer on packagist.

{
    "require": {
        "instasent/sms-counter-php": "dev-master"
    }
}

License

SMS Counter (PHP) is released under the MIT License

About

SMS Counter PHP Class Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages