Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement strings utility library instead of our own #46

Closed
cliffordp opened this issue Jul 16, 2019 · 0 comments
Closed

Implement strings utility library instead of our own #46

cliffordp opened this issue Jul 16, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@cliffordp
Copy link
Owner

cliffordp commented Jul 16, 2019

https://laravel.com/docs/master/helpers --> https://packagist.org/packages/laravel/helpers requires PHP 7.1.3

===

https://packagist.org/packages/symfony/string requires PHP 7.2.5

===

https://github.com/PHLAK/Twine requires PHP 7.2

===

https://github.com/phpfunct/funct seems to cover it all for both strings and arrays (re: #87) but isn't actively maintained.

Strings:

  • contains
  • starts with
  • ends with
  • truncate

One thing missing from this library is to add prefix while accounting for it possibly existing already (and same for suffix): phpfunct/funct#47

===

https://packagist.org/packages/voku/stringy requires PHP 7.0, has all the string functions, and is actively maintained

So that's why we chose this one.

@cliffordp cliffordp added the enhancement New feature or request label Jul 16, 2019
@cliffordp cliffordp changed the title Use string library instead of our own Implement strings/arrays utility library instead of our own Jan 28, 2020
@cliffordp cliffordp changed the title Implement strings/arrays utility library instead of our own Implement strings utility library instead of our own Mar 24, 2020
@cliffordp cliffordp self-assigned this Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant