Libraries tagged by spring
gyselroth/stream-iterator
2090 Downloads
Provides \StreamIterator which allows traversing through an iterator and stringify each element
globyapp/odata-query-parser
998 Downloads
Parse OData v4 query strings, outputs proper PHP objects.
glen/filename-normalizer
23609 Downloads
A string normalizer for filesystem name.
gherardobertini/truncate-html
47 Downloads
Truncate HTML strings keeping valid tags without truncating words
foolz/inet
2330 Downloads
A PHP implementation of decimal IPs. Converts IPs from presentation to decimal and viceversa. Very useful to store IPs in database as numbers instead of string, in example in a decimal(39,0) column.
fitzage/optimus-bard
3347 Downloads
Optimus Bard takes the content from a Statamic Bard field and transforms it into a string when updating your search index
eth8505/laminas-api-tools-rest-queryparam-validation
8753 Downloads
query string validation for laminas-api-tools/api-tools-rest
elecena/ic-package-info
6054 Downloads
Extract IC package from a given string
elcheco/translator
1614 Downloads
Translation system using neon files, supports plurals and string replacements, fallback language. Extension to Nette Framework ^3.0
eboreum/exceptional
4362 Downloads
Create and format PHP exceptions easily. Automatically unravel method arguments. Ensure that sensitive strings like passwords, tokens, PHPSESSID, etc. are being masked and thus will instead appear as e.g. "******" in the resulting text.
eboreum/caster
4722 Downloads
Cast any PHP value to a sensible, human readable string. Great for type-safe outputs, exception messages, transparency during debugging, and similar things. Also helps avoiding innate problems such as printing endless, circular referencing objects (endless recursion), limits the output for large arrays and long strings, and prevents (opt-in) the outputting of sensitive strings like passwords.
drupal/core-datetime
179 Downloads
This class wraps the PHP DateTime class with more flexible initialization parameters, allowing a date to be created from an existing date object, a timestamp, a string with an unknown format, a string with a known format, or an array of date parts. It also adds an errors array and a __toString() method to the date object.
dragoniscz/php-value-dumper
996 Downloads
PHPValueDumper is a library designed to convert objects into PHP strings that can be used to create corresponding variables.
donchev/email-extractor
201 Downloads
Extract valid email addresses from a string or array of strings.With a few helper methods like sortAsc/sortDesc, unique,filterInclude/filterExclude, lowercase/uppercase included.
dobaniashish/clsx
388 Downloads
A PHP utility for constructing html attribute strings conditionally.