2017 © Pedro Peláez
 

library stringpad

Lib for add symbols to start or end of string like spaces, dots or any another.

image

zhukmax/stringpad

Lib for add symbols to start or end of string like spaces, dots or any another.

  • Friday, June 8, 2018
  • by ZhukMax
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

StringPad

Software License Total Downloads, (*1)

Lib for add symbols to start or end of string like spaces, dots or any another., (*2)

Install

composer require zhukmax/stringpad

Usage

<?php

require_once 'vendor/autoload.php';
use Zhukmax\StringPad;

echo StringPad::left(5, 6, 0); // => 000005
echo StringPad::right('b', 5, 'a'); // => baaaa

The Versions

08/06 2018

dev-master

9999999-dev

Lib for add symbols to start or end of string like spaces, dots or any another.

  Sources   Download

Apache-2.0

The Requires

  • php ^7.0.1

 

by Zhuk Max

08/06 2018

1.0.0

1.0.0.0

Lib for add symbols to start or end of string like spaces, dots or any another.

  Sources   Download

Apache-2.0

The Requires

  • php ^7.0.1

 

by Zhuk Max