katoga/allyourbase

Collection of bin-to-ascii converters.

v5.0.0 2023-12-23 12:10 UTC

README

PHP

Allyourbase

Collection of binary-to-ascii encoders.

Installation

composer require katoga/allyourbase

Usage

$b64 = new \Katoga\Allyourbase\Base64();
$encoded = $b64->encode('Hello world!');
$plain = $b64->decode($encoded);

Supported versions

  • v5: PHP 8.1+
  • v4: PHP 8.0+
  • v3: PHP 8 (deprecated 7.4)
  • v2: PHP 7.4
  • v1: PHP 5.6