PHPackages                             joseorono/sms-length-calculator-composer - 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. joseorono/sms-length-calculator-composer

ActiveLibrary

joseorono/sms-length-calculator-composer
========================================

PHP-based SMS length calculator. Checks if a message can be sent as GSM 7bit charset or if Unicode charset must be used. Now Composer-friendly.

0.1(3y ago)0721↓56.7%Apache-2.0PHPPHP &gt;=7.4

Since Aug 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/joseorono/sms-length-calculator-composer)[ Packagist](https://packagist.org/packages/joseorono/sms-length-calculator-composer)[ RSS](/packages/joseorono-sms-length-calculator-composer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (2)Used By (0)

SMS Length Calculator
=====================

[](#sms-length-calculator)

PHP-based SMS length calculator. Checks if a message can be sent as GSM 7bit charset or if Unicode charset must be used.

Based on [messente/sms-length-calculator](https://github.com/messente/sms-length-calculator/)Now Composer-friendly.

Checks if a message can be sent as GSM 7bit charset or if Unicode charset must be used.

How Install
-----------

[](#how-install)

Just run the following command in your Composer PHP project:

```
composer require joseorono/sms-length-calculator-composer

```

Composer Package:

Usage example
-------------

[](#usage-example)

```
$SmsCalc = new SmsLengthCalculator();
$text = "The morpheme can be reduplicated to emphasize the meaning of the word";
$sms_parts = $SmsCalc->getPartCount($text);
echo "Message with text [".$text."] is sent as [".$sms_parts." SMS]\n";
// Output: Message with text [The morpheme can be reduplicated to emphasize the meaning of the word] is sent as [1 SMS]
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 56.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1369d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e85ba19c4e05c860915f566b9bb8aa641258d2c75e6d49461823c8eb91f7d5f?d=identicon)[janjozefo](/maintainers/janjozefo)

---

Top Contributors

[![joseorono](https://avatars.githubusercontent.com/u/14893418?v=4)](https://github.com/joseorono "joseorono (9 commits)")[![binkabir](https://avatars.githubusercontent.com/u/6738961?v=4)](https://github.com/binkabir "binkabir (3 commits)")[![MarkoSulamagi](https://avatars.githubusercontent.com/u/4674408?v=4)](https://github.com/MarkoSulamagi "MarkoSulamagi (3 commits)")[![jbaanus](https://avatars.githubusercontent.com/u/237111?v=4)](https://github.com/jbaanus "jbaanus (1 commits)")

### Embed Badge

![Health badge](/badges/joseorono-sms-length-calculator-composer/health.svg)

```
[![Health](https://phpackages.com/badges/joseorono-sms-length-calculator-composer/health.svg)](https://phpackages.com/packages/joseorono-sms-length-calculator-composer)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
