Releases: sauls/helpers
Releases · sauls/helpers
PHP8 Support
- fix: PHP* Deprecation notices for
countdown
andexplode_with_multiple_delimiters
functions - feat: Added
nesbot/carbon
library to deal with dates in elapsed_time, as now tests can be done the right way also - feat: PHP support increased to >=7.4
Symfony 5.x support
Merge pull request #10 from sauls/new_version_support feat: symfony 5.x support
added missing dependency
feat: added missing symfony/yaml dependency
chore: updated phpunit to version 8
added string_contains_function
v1.2.7 added string_contains function
new class_ucnp and object_ucnp
v1.2.6 new class_ucnp and object_ucnp functions
Added class_fqcn and object_fqcn
v1.2.5 Added class_fqcn and object_fqcn functions
string_in function
- Added string_in function
- Fix: failing datetime tests
Additional functions
- truncate - truncates to given string length
- truncate_words - truncates to given words count
- truncate_sentences - truncated to given sentence count
- truncate_html - truncates to given length preserving the html
- truncate_html_words - truncates to given word count preserving the html
- truncate_html_sentences - truncate to given sentence count preserving the html
- count_words - counts words in a string
- count_sentences - counts sentences in a string