PHP code example of ksmz / bubblebabble
1. Go to this page and download the library: Download ksmz/bubblebabble library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ksmz / bubblebabble example snippets
use ksmz\BubbleBabble\Factory as BubbleBabble;
BubbleBabble::encode('Pineapple'); // 'xigak-nyryk-humil-bosek-sonax'
BubbleBabble::decode('xigak-nyryk-humil-bosek-sonax'); // 'Pineapple'
BubbleBabble::validate('xigak-nyryk-humil-bosek-sonax'); // true
use ksmz\BubbleBabble\Encoder;
use ksmz\BubbleBabble\Decoder;
(new Encoder())->encode($input);
(new Decoder())->encode($input);