This is a nice-ordered class (tools) that will help you to do A LOT of things more easy (validating, working with dates, detecting spam, and so..)
The documentation is very complete, there I explain how each function works and each one has a example perfectly Syntax-Highlighted. Plus, have some examples in /examples/ folder.
Here is what you can do with this class:
- Validate numeric values (strict and non-strict)
- Validate only-letters
- Check if a string contains X thing (word, phrase, letter..)
- Check if a string is utf-8
- Get Biggest or Smaller value in an array
- Check if a number is between other two
- Validate Email
- Validate Telephone
- Validate Zip Code
- Validate Hexadecimal
- Validate IPv4
- Validate FileSize
- Validate Card Number (credit/debit)
- Get company card by number (VISA, MasterCard,…)
- Validate name, date, regexp
- Get number of coincidences of a RegExp
- Get RegExp values in two different ordered ways
- Parse number (Example: 10000 will return 10,000)
- Get how many times a word appears in a string
- Convert to Upper/Down a string
- Replace an array of words in a string
- Parse UNIX date
- Clean SQL or HTML , allowing to declare exceptions to not be cleaned
- Get seconds of difference between two dates
- Add seconds to a date
- Extend a date (Get years, months, days, hours, minutes, seconds) in a string or array
- Comes with a list of blocked words (for preventing spam). You can temporaly or permanently add more words
- You can replace blocked words with what you want
- You can count or get blocked words found in a string
Rating will be really appreciated.
Questions? Suggestions? Please, don’t doubt to leave a comment!
[eltd_button size=”huge-full-width” type=”outline” text=”Download & Demo Links” custom_class=”#” icon_pack=”font_awesome” fa_icon=”” link=”” target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Demo = PHP Advanced String Class
[eltd_button size=”huge” type=”” text=”Full Live Demo” custom_class=”” icon_pack=”font_awesome” fa_icon=”fa-laptop” link=”https://codecanyon.net/item/php-advanced-string-class/546501″ target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Kindly Note: We update new contents like WordPress Themes, Plugins, PHP Scripts everyday. But remember that you should never use this items in a commercial website. All the contents posted here for development & testing purpose only. We’re not responsible for any damage, use at your own RISK! We highly recommend to buy PHP Advanced String Class from the The Developer ( Sourcegeek ) website. Thank you.
Download = PHP Advanced String Class-[Updated].zip