sehrgut/mb-str-pad

This package is abandoned and no longer maintained. No replacement package was suggested.

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

1.0.0 2018-08-12 22:08 UTC

This package is auto-updated.

Last update: 2023-03-22 06:01:42 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