Libraries tagged by string generator
text/template
211064 Downloads
Simple and secure string-template-engine (Twig-like syntax) with nested if/elseif/else, loops, filters. Simple OOP api: Just one class doing the job (2-lines of code). Fast and secure: No code-generation, no eval'ed() code. Extensible by callbacks. Fully tested. Rich examples included.
hatchyu/string-utils
12063 Downloads
Smart PHP string utilities for slugging, casing, transliteration, and unique hash generation
phlak/strgen
49119 Downloads
Generate secure random strings (e.g. passwords / salts)
andreas-glaser/php-helpers
91180 Downloads
A comprehensive collection of PHP utility functions for array manipulation, string operations, date handling, HTML generation, form building, validation, and more. Modern PHP 8.2+ library with full type safety.
pishran/persian-slug
34455 Downloads
Generate a URL friendly slug from a given string.
dsentker/url-signature
48295 Downloads
A secure URI generation and validation library
mcaskill/php-html-build-attributes
39863 Downloads
Generate a string of HTML attributes.
sebastian/uuid
1185 Downloads
Function for generating a UUID (as string)
phlak/colorizer
24921 Downloads
Generate persistantly unique colors from a string.
adaptive/php-text-difference
74933 Downloads
A comprehensive library for generating differences between two hashable objects (strings or arrays). Fork of a fork to add namespaces and psr-4 autoloading
shahonseven/php-color-hash
77702 Downloads
Generate color based on the given string. Backported from the Javascript library color-hash
pid/speakingurl
5489 Downloads
Generate of so called 'static' or 'Clean URL' or 'Pretty URL' or 'nice-looking URL' or 'Speaking URL' or 'user-friendly URL' or 'SEO-friendly URL' or 'slug' from a string.
bretterer/laravel-pseudoloc
5158 Downloads
Runtime pseudolocalization for Laravel. Flip a flag, see every i18n bug: translated strings render accented and expanded, hardcoded strings stay plain English and jump out. Zero artifacts, no generated locale files.
fdmind/ignore-query-strings
5899 Downloads
If your website has static caching on, and you drive traffic to it from social media, Google Ads and other sources that add query string parameters to the URL, there is a chance that each time new user visits a page, it will not be served from cache, but will be generated from scratch. This is because the URL with query string parameters is treated as a different URL from the one without query string parameters.
fomvasss/laravel-str-tokens
9266 Downloads
A package to manage and generate string with tokens/shortcodes for Eloquent Models