Skip to content

tiny-blocks/encoder

Repository files navigation

Encoder

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.