PHPackages                             elevenstack/morsecode - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. elevenstack/morsecode

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

elevenstack/morsecode
=====================

This is a package that you can use for transform a simple text in morse code

2.0.0(6y ago)14MITPHPPHP ^7.2

Since Apr 8Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Guilherme-j10/morsecode)[ Packagist](https://packagist.org/packages/elevenstack/morsecode)[ RSS](/packages/elevenstack-morsecode/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (5)Used By (0)

Morsecode
=========

[](#morsecode)

package created for the folks that want use or learn morse code, here you can pass a string and method that you want for the constructor, see an example in bellow.

Encode example
--------------

[](#encode-example)

```
    require_once __DIR__."vendor/autoload.php";
    use elevenstack\src\morsecode;

    $morse = new morsecode('string', 'encode');
    /*
    *    code returned:
    *    ... - .-. .. -. --.
    */
```

Decodig example
---------------

[](#decodig-example)

```
    require_once __DIR__."vendor/autoload.php";
    use elevenstack\src\morsecode;

    $morse = new morsecode('... - .-. .. -. --.', 'decode');
    /*
    *    code returned:
    *    string
    */
```

Installation using composer
---------------------------

[](#installation-using-composer)

in cli:

```
    $ composer elevenstack/morsecode

```

compsoer.json file:

```
    {
        "require":{
            "elevanstack/morsecode": "^1.0"
        }
    }
```

Requirements
------------

[](#requirements)

The package is suported by this versions:

- PHP &gt;= 7.0

Author
------

[](#author)

This pakcage was created and is maintained by [Guilherme-j10](https://github.com/Guilherme-j10). if you have any questions can contact me by my e-mail .

License
-------

[](#license)

MIT License

Copyright (c) 2019 Johnny Mast

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Every ~1 days

Total

4

Last Release

2276d ago

Major Versions

1.2.1 → 2.0.02020-04-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1130f23dbe9734030ee2ffc2cfe65be2d65b58fbe3cc4fc9811a6eb22c95bf5?d=identicon)[Guilherme-j10](/maintainers/Guilherme-j10)

---

Top Contributors

[![Guilherme-j10](https://avatars.githubusercontent.com/u/55926786?v=4)](https://github.com/Guilherme-j10 "Guilherme-j10 (23 commits)")

---

Tags

translatemorseElevenStackmorsecode

### Embed Badge

![Health badge](/badges/elevenstack-morsecode/health.svg)

```
[![Health](https://phpackages.com/badges/elevenstack-morsecode/health.svg)](https://phpackages.com/packages/elevenstack-morsecode)
```

###  Alternatives

[jellybool/translug

Translate Chinese And Then Make It Sluggable

14746.5k2](/packages/jellybool-translug)[jefs42/libretranslate

PHP interface for the open source LibreTranslate project

3794.7k1](/packages/jefs42-libretranslate)[anper/iuliia

Transliterate Cyrillic → Latin in every possible way.

21124.6k3](/packages/anper-iuliia)

PHPackages © 2026

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