Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samarthkumar008/stmp
stmp is a simple yet flexible PHP string manupulation library.
https://github.com/samarthkumar008/stmp
hackto library module package php php7 stmp string string-helper string-manupulation
Last synced: 7 days ago
JSON representation
stmp is a simple yet flexible PHP string manupulation library.
- Host: GitHub
- URL: https://github.com/samarthkumar008/stmp
- Owner: samarthkumar008
- License: mit
- Created: 2024-02-04T06:18:20.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-14T04:14:19.000Z (12 months ago)
- Last Synced: 2024-09-24T20:00:35.191Z (4 months ago)
- Topics: hackto, library, module, package, php, php7, stmp, string, string-helper, string-manupulation
- Language: PHP
- Homepage:
- Size: 129 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
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
```sh
$ 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: 1Example2
// tolowet
echo \stMp\stMp::_upper("Hello WORLDS");
Output: HELLO WORLDSExample3
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](https://github.com/).
> Who Mantained
* Mantained by _kshatriya_16> Copyright © by _kshatriya_16