sehrgut/mb-str-pad

Multibyte-capable alternative to php's builtin str_pad() function

1.0.0 2018-08-12 22:08 UTC

README

Travis Build Status

Multibyte-capable alternative to php's builtin str_pad() function

It has exactly the same interface as the original str_pad() function, which is documented here: https://secure.php.net/manual/en/function.str-pad.php

Installation

composer require sehrgut/mb-str-pad

Usage

Composer should autoload the mb_str_pad() function into global namespace. Use it just like any built-in function.

Testing

composer test

License

Public Domain