Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Stringy
A PHP string manipulation library with multibyte support, now with PHP 7.3 support (by statamic)
Nikita Popov tried to solve the problem with this extension, but it never got wide support. The problem is that without users asking for this feature, Jetbrains and psalm/phpstan will not integrate it. But w/o their support, users cannot not even try the extension as everything will be shown as error.
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
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
Related posts
- We Don't Need Another Framework (WDNAF)
- Validating requests on Symfony Framework
- Validando requests no Symfony Framework
- Is there a way to chose different number of posts for différent for pc and responsive using the post widget without the hassle of duplicating the section and hiding on desktop etc?
- New to PHP - I'm actually impressed