acpmasquerade/sms-counter-php
最新稳定版本:v1.0.5
Composer 安装命令:
composer require acpmasquerade/sms-counter-php
包简介
SMS Counter PHP Class Library which detects encoding of an SMS message text, counts the characters as per the encoding and gives page limit information.
README 文档
README
Character counter for SMS Messages Original insipration : danxexe/sms-counter
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
统计信息
- 总下载量: 124.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 24
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-06-25