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. elevenstack/morsecode

ActiveLibrary

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 6d 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 32% 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

2228d 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

[spatie/laravel-translatable

A trait to make an Eloquent model hold translations

2.4k23.0M413](/packages/spatie-laravel-translatable)[stichoza/google-translate-php

Free Google Translate API PHP Package

2.0k7.6M124](/packages/stichoza-google-translate-php)[google/cloud

Google Cloud Client Library

1.2k16.2M53](/packages/google-cloud)[spatie/laravel-translation-loader

Store your language lines in the database, yaml or other sources

8362.9M51](/packages/spatie-laravel-translation-loader)[gettext/languages

gettext languages with plural rules

7530.3M11](/packages/gettext-languages)[punic/punic

PHP-Unicode CLDR

1542.9M29](/packages/punic-punic)

PHPackages © 2026

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