bfday/php-base64-data-url

There is no license information available for the latest version (v1.1.2) of this package.

Library to work with base64 data URL scheme. More info in https://ru.wikipedia.org/wiki/Data:_URL

v1.1.2 2017-10-04 14:24 UTC

This package is not auto-updated.

Last update: 2019-09-10 03:50:47 UTC


README

Library to work with base64 data URL scheme. More info about scheme you can read here https://ru.wikipedia.org/wiki/Data:_URL.

How to use

The simplest way is:

/**
* @var $res Result
*/
$decoder = (new Decoder())->run($logoBase64DataUrl);
echo json_encode($decoder->toArray());
echo $decoder->getMimeType();
echo $decoder->getCharset();
echo $decoder->getData();

How to install

Run from bash:

composer require bfday/php-base64-data-url

Authors

Stepanov Stanislav