sulaiman / php-string-convert
A simple PHP Package to simplified the String conversion by using Bahasa
v1.0.0
2024-08-11 12:49 UTC
README
Sometimes, I just want to use my daily language when writing PHP. So I can write the code just like I talking to someone. I'm use talking to myself while coding. So, I create this package in order to make my self comfortable.. Haha! This small package is using PHP built-in functions by the way ;)
Wanna Contribute?
This package basically I develop for fun. But if you want to help me to improve this package, please make your PR. Together with the details of your codes
List of function you can use
- kasiBesar(string);
kasiBesar('hello') // HELLO
- kasiKecil(string);
kasiKecil('HELLO') // hello
- firstLetterJeBesar(string);
firstLetterJeBesar('hello world') // Hello World
- tukarKeSlug(string);
tukarKeSlug('hello world') // hello-world
- buangExtraSpace(string);
buangExtraSpace('hello world ') // hello world