Case converter
Stringy
Our great sponsors
Case converter | Stringy | |
---|---|---|
3 | 3 | |
160 | 2,465 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 2 years ago | |
PHP | PHP | |
MIT License | MIT License |
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.
Case converter
-
Validating requests on Symfony Framework
Also, it's possible to see the conversion between the style snake_case and camelCase in the attributes and errors, this happens because exists a convention that the fields in the JSON must be snake_case, and PSR-2 and PSR-12 suggest the camelCase for the names of attributes in the classes, then it's necessary a conversion. For this was used the Case converter lib.
- Validando requests no Symfony Framework
- Hello, jawira/case-converter has reached 1M downloads on Packagist today! π I just wanted to share with you :)
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
What are some alternatives?
ANSI to HTML5 - An ANSI to HTML5 converter
Color Jizz - ColorJizz is a PHP library for manipulating and converting colors.
Slugify - Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte.
Portable UTF-8 - π Portable UTF-8 library - performance optimized (unicode) string functions for PHP.
Google Translate For Free - Library for free use Google Translator. With attempts connecting on failure and array support.
Jieba-PHP - "η΅ε·΄"δΈζεθ©οΌεζε₯½η PHP δΈζεθ©γδΈζζ·θ©η΅δ»Άγ / "Jieba" (Chinese for "to stutter") Chinese text segmentation: built to be the best PHP Chinese word segmentation module.
Regex - A sane interface for php's built in preg_* functions
SQL Formatter - A lightweight php class for formatting sql statements. Handles automatic indentation and syntax highlighting.
Patchwork UTF-8 - Extensive, portable and performant handling of UTF-8 and grapheme clusters for PHP
Mobile-Detect - Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.
UA Parser