Regex VS Stringy

Compare Regex vs Stringy and see what are their differences.

Regex

A sane interface for php's built in preg_* functions (by spatie)

Stringy

A PHP string manipulation library with multibyte support (by danielstjules)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Regex Stringy
1 3
1,104 2,465
0.0% -
0.0 0.0
over 1 year ago over 2 years ago
PHP PHP
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

Regex

Posts with mentions or reviews of Regex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-05.

Stringy

Posts with mentions or reviews of Stringy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-31.
  • New to PHP - I'm actually impressed
    5 projects | /r/PHP | 31 May 2023
    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
    4 projects | /r/PHP | 14 Aug 2022
    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)
    1 project | /r/PHP | 22 Jun 2021
    Do you mean a library like these? * https://symfony.com/doc/current/components/string.html * https://github.com/danielstjules/Stringy

What are some alternatives?

When comparing Regex and Stringy you can also consider the following projects:

SQL Formatter - A lightweight php class for formatting sql statements. Handles automatic indentation and syntax highlighting.

Color Jizz - ColorJizz is a PHP library for manipulating and converting colors.

Hoa String

Portable UTF-8 - 🉑 Portable UTF-8 library - performance optimized (unicode) string functions for PHP.

Agent - 👮 A PHP desktop/mobile user agent parser with support for Laravel, based on Mobiledetect

Jieba-PHP - "結巴"中文分詞:做最好的 PHP 中文分詞、中文斷詞組件。 / "Jieba" (Chinese for "to stutter") Chinese text segmentation: built to be the best PHP Chinese word segmentation module.

UUID - :snowflake: A PHP library for generating universally unique identifiers (UUIDs).

Slugify - Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte.

Patchwork UTF-8 - Extensive, portable and performant handling of UTF-8 and grapheme clusters for PHP

Url highlight - PHP library to parse urls from string input

UA Parser