Skip to content

Katoga/allyourbase

Repository files navigation

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