https://github.com/sehrgutesoftware/mb-str-pad
Multibyte-capable alternative to php's builtin str_pad() function
https://github.com/sehrgutesoftware/mb-str-pad
multibyte multibyte-strings php php7 string
Last synced: 5 months ago
JSON representation
Multibyte-capable alternative to php's builtin str_pad() function
- Host: GitHub
- URL: https://github.com/sehrgutesoftware/mb-str-pad
- Owner: sehrgutesoftware
- Archived: true
- Created: 2018-08-12T21:48:16.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-21T19:58:23.000Z (over 7 years ago)
- Last Synced: 2025-10-01T16:52:49.160Z (9 months ago)
- Topics: multibyte, multibyte-strings, php, php7, string
- Language: PHP
- Size: 13.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mb_str_pad()
[](https://travis-ci.org/sehrgutesoftware/mb-str-pad)
> 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](https://secure.php.net/manual/en/function.str-pad.php)
## Installation
```sh
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
```sh
composer test
```
## License
Public Domain