Libraries tagged by strong
eboreum/caster
4650 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
174 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
956 Downloads
PHPValueDumper is a library designed to convert objects into PHP strings that can be used to create corresponding variables.
divineomega/is_offensive
1464 Downloads
This PHP package provides an `is_offensive` helper function. Passing a string to `is_offensive` will return a boolean telling you if it contains offensive words.
dimanzver/fio-analyzer
1424 Downloads
Analyze user input string, and split it into Russian first name, second name and last name
dimanzver/fast-fuzzy-search
1455 Downloads
Fast fuzzy search in an array of strings for the most similiar ones
digicomp/flow-translation-endpoint
932 Downloads
A simple endpoint providing XLIFF translations as string
dewan/dewan-multilang-slug
105 Downloads
It takes a string, a model, a filed, and a divider, and returns a unique string with a number or random string appended to it if the slug already exists in the database.
danack/float-hex
845 Downloads
Float to hex strings, and float comparison.
cumanzorx07/coupon_code_generator
4160 Downloads
PHP library to generate and validate coupon code strings.
cosnavel/laravel-query-localization
8167 Downloads
Query String Localization Package for Laravel
codewiser/polyglot
2855 Downloads
Translation strings parser and web editor for Laravel applications
cmpayments/schemavalidator
4091 Downloads
SchemaValidator is a PHP implementation for validating JSON against a Schema (also a string), the JSON and Schema are both linted with https://github.com/cmpayments/jsonlint. This library is optimized for speed and performance.
cmpayments/jsonlint
4637 Downloads
JSON Lint for PHP checks a string for invalid or malformed JSON, control character error, incorrect encoding or just plain old syntax errors. It returns comprehensive feedback in a one-line error message (one-line message especially meant for REST APIs) about the first error that occurred in the (JSON) string. It supports both RFC 4627 and (its superseding) RFC 7159.
clue/caret-notation
3663 Downloads
^B A dead-simple PHP library to add caret notation in order to safely show strings that contain ASCII control characters (unprintable characters)