tiny-blocks/encoder

Encoder and decoder for arbitrary data.

1.2.2 2023-06-17 15:09 UTC

This package is auto-updated.

Last update: 2024-04-22 11:58:19 UTC


README

License

Overview

Encoder and decoder for arbitrary data.

Installation

composer require tiny-blocks/encoder

How to use

The library exposes concrete implementations for encoding and decoding data.

Using Base62

$encoded = Base62::encode(value: 'Hello world!') # T8dgcjRGuYUueWht

Base62::decode(value: $encoded) # Hello world!

License

Encoder is licensed under MIT.

Contributing

Please follow the contributing guidelines to contribute to the project.