Skip to content

Helper class for static call of encode/decode methods #14

@barbushin

Description

@barbushin

Hi,

This is kind of problem that to call encode/decode methods we need to initiate StephenHill\Base58 instance. There are not so many things to configure, and I guess that 99% users of this library will not override encoding service provider. And passing instance of base58 to DI container also does not look very reasonable.

It will be great to have some kind of StephenHill\StaticBase58 class that provides static encode/decode methods.

Anyway, @stephen-hill, thank you so much for base58php!
It's implemented really great.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions