Skip to content

samarthkumar008/stmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stMp

stMp is a simple yet flexible PHP string manupulation library.

Installation

To install stMp, run the command below and you will get the latest version

$ composer require stmp/stmp

List Of Usages:

(i) _isEmpty, (ii) _getStrLen, (iii) _trim, (iv) _lower, (v) _upper, (vi) _stripQuotes, (vii) _replace (viii) _upperCamelCase, (ix) _slug, (x) _snakeCase, (xi) _dotNotation, (xii) _isPalindrome, (xiii) _wordCount (xiv) _htmlRemoveTags, (xv) _slashesRemove, (xvi) _arrayToString, (xvii) _reverseString, (xviii) _randomString, (xiv) _isAnagram, (xx) _ucFirst, (xxi) _ucLast, (xxii) _countSentence, (xxiii) _removeDuplicateChars, (xxiv) _removeComment, (xxv) _stripDigit, (xxvi) ltrim, (xxvii) rtrim, (xxviii) _removeDiacritic

Usages

Example1
// Empty Check (1)
echo \stMp\stMp::_isEmpty('');
Output: 1

Example2
// tolowet
echo \stMp\stMp::_upper("Hello WORLDS");
Output: HELLO WORLDS

Example3
echo \stMp\stMp::_getStrLen("Sam
Output: 3");

so on.

how to call 
echo \namespace\classname\::static_function_name();

Contribute

stMp loves developers. You can be part of this project!

This wrapper is a great introduction to the open source world, check out the code!

Feel free to ask anything, and contribute:

  • Fork the project.
  • Create a new branch.
  • Implement your feature or bug fix.
  • Add documentation to it.
  • Commit, push, open a pull request and voila.

If you have suggestions on how to improve the guides, please submit an issue in our Official API Documentation repo.

Who Mantained

  • Mantained by _kshatriya_16

Copyright © by _kshatriya_16