Stringy
sulu-demo
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stringy
-
New to PHP - I'm actually impressed
For strings I use Stringy (https://github.com/danielstjules/Stringy) for arrays I built my own Collection library, but pretty sure there are plenty in packagist (https://packagist.org/)
-
Why does PHP not have object-oriented strings and arrays? Will it be added in a future version
A number of libraries likely already exist to do these kinds of things, for example with strings, Laravel has a string class which has an of() method, Statamic has a modify/modifier class, there are probably other projects or libraries, but I know that Statamic does leverage https://github.com/danielstjules/Stringy via this fork https://github.com/statamic/Stringy
-
We Don't Need Another Framework (WDNAF)
Do you mean a library like these? * https://symfony.com/doc/current/components/string.html * https://github.com/danielstjules/Stringy
sulu-demo
-
New to PHP - I'm actually impressed
As it's Symfony based, "plugins" are handled via the bundle system and have the full internal API at their disposal. The documentation for that's not always the best (the cookbook section is often the most useful), but I've never found it to be a problem, particularly as there's not a massive amount of custom Sulu code you'd actually need to interact with, so the interfaces usually suffice. Most of the common things you'd want to do are demonstrated as pull requests on the demo repo.
What are some alternatives?
Color Jizz - ColorJizz is a PHP library for manipulating and converting colors.
sulu - Core framework that implements the functionality of the Sulu content management system
Portable UTF-8 - π Portable UTF-8 library - performance optimized (unicode) string functions for PHP.
fatfree-core - Fat-Free Framework core library
Jieba-PHP - "η΅ε·΄"δΈζεθ©οΌεζε₯½η PHP δΈζεθ©γδΈζζ·θ©η΅δ»Άγ / "Jieba" (Chinese for "to stutter") Chinese text segmentation: built to be the best PHP Chinese word segmentation module.
moonquakes - A rpc framework that Java/PHP(hyperf)/Golang intercommunicate implementation of JSON-RPC 2. Support consul & nacos.
Slugify - Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte.
Packagist - Package Repository Website - try https://packagist.com if you need your own -
Patchwork UTF-8 - Extensive, portable and performant handling of UTF-8 and grapheme clusters for PHP
UA Parser
Case converter - Convert strings between 13 naming conventions: Snake case, Camel case, Kebab case, Pascal case, Ada case, Train case, Cobol case, Macro case, Upper case, Lower case, Title case, Sentence case and Dot notation.
Device Detector - The Universal Device Detection library will parse any User Agent and detect the browser, operating system, device used (desktop, tablet, mobile, tv, cars, console, etc.), brand and model.