Skip to content
Morse code utilities, in PHP
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
library
tests
.gitignore
.travis.yml
LICENSE
README.md
composer.json
composer.lock
phpunit.xml.dist

README.md

morse-php

PHP morse code utilities.

Build Status

Usage

<?php
// Translate from/to morse:
$text = new Morse\Text();
$morse = $text->toMorse('SOS');

echo $morse; // ... --- ...
echo $text->fromMorse($morse); // SOS

// Generate a WAV-file:
$wav = new Morse\Wav();
file_put_contents('sos.wav', $wav->generate('SOS'));

Installing

To include morse-php in your project, add it to your composer.json file:

{
    "require": {
        "rexxars/morse": "^1.0.0"
    }
}

License

MIT licensed. See LICENSE for full terms.

You can’t perform that action at this time.