faheem2407 / play-with-string
This is a very basic but useful package to manipulate strings
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/faheem2407/play-with-string
README
How to use this package:
- create a fresh laravel project or inside your existing project just require this : composer require faheem2407/play-with-string
- create an object of class StringHelper like this: $object = new StringHelper("pass a string or sentance here");
- call upper function to make the passing sentance uppercase like this: echo $object->upper(); output: PASS A STRING OR SENTENCE HERE
- call lower function to make the passing sentance lowercase like this: echo $object->lower(); output: pass a string or sentance here
- call reverse function to make the passing sentance revese: echo $object->reverse(); output: ereh ecnatnes ro gnirts a ssap