2017 © Pedro Peláez
 

symfony-bundle str_increment

String Increment Class

image

yakeing/str_increment

String Increment Class

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

str increment

This is string increment class that can be used extensively for uppercase or lowercase letters as well as for various hexadecimal characters., (*1)

Travis CI badge

Travis-ci, (*2)

codecov badge

codecov, (*3)

Github badge

Downloads Size tag license languages, (*4)

Installation

Use Composer to install the library. Of course, You can go to Packagist to view., (*5)

    $ composer require yakeing/str_increment

str_increment init / Set up, (*6)

16Hex ( Must be lowercase )

    $str = '0fff';
    $ret = StrIncrement::NewStr($str, 16);
    var_dump('1000' == $ret);

10Hex ( Decimalist )

    //string
    $str = '1999';
    $ret = StrIncrement::NewStr($str, 10);
    var_dump('2000' == $ret);

      //integer
    $int = 100;
    $ret = StrIncrement::NewStr($int, 10);
    var_dump('101' == $ret);

alphabetic character

    $str = 'ABzZ';
    $ret = StrIncrement::NewStr($str, 'letters');
    var_dump('ABAa' == $ret);

Lower case letters

    $str = 'zxc';
    $ret = StrIncrement::NewStr($str, 'lowercase');
    var_dump('zxd' == $ret);

uppercase letter

    $str = 'ABZ';
    $ret = StrIncrement::NewStr($str, 'uppercase');
    var_dump('ACA' == $ret);

str_increment usage scenario

  • [x] URL
  https://github.com/fTg5A

  https://github.com/0EaG7
  • [x] USER ID
USER UID
John F8aJ0e
Kim fWd0fJ
Mary F8qWc5

Sponsor

If you've got value from any of the content which I have created, then I would very much appreciate your support by payment donate., (*7)

Sponsor, (*8)

Author

weibo: yakeing, (*9)

twitter: yakeing, (*10)

The Versions

26/05 2018

dev-master

9999999-dev https://github.com/yakeing/str_increment

String Increment Class

  Sources   Download

MPL-2.0

The Requires

  • php >=5.6

 

The Development Requires

code random uid increment

16/08 2017

v3.0.0

3.0.0.0 https://github.com/yakeing/str_increment

String Increment Class

  Sources   Download

MPL-2.0

The Requires

  • php >=5.6

 

The Development Requires

code random uid increment