Laravel Illuminate Agnostic Str
3,038,096
52
3
Package Data
Maintainer Username: AntonioCarlosRibeiro
Maintainer Contact: acr@antoniocarlosribeiro.com (Antonio Carlos Ribeiro)
Package Create Date: 2018-01-30
Package Last Update: 2022-09-07
Language: PHP
License: MIT
Last Refreshed: 2024-12-15 15:01:41
Package Statistics
Total Downloads: 3,038,096
Monthly Downloads: 33,280
Daily Downloads: 321
Total Stars: 52
Total Watchers: 3
Total Forks: 11
Total Open Issues: 3

IlluminateAgnostic \ Str

This package is an extraction of the Laravel's Illuminate\Support\Str class, including all helpers, repackaged to be agnostic and available to any PHP project.

It has its own namespace (IlluminateAgnostic\Str), so you can use it even on Laravel apps without risking a namespace conflict.

You can find some documentation on the available helpers here: https://laravel.com/docs/5.5/helpers.

Install

Via Composer

$ composer require pragmarx/ia-str

Usage

use IlluminateAgnostic\Str\Support\Str;

Str::endsWith('Jönköping', 'ing')

// or

str_endswith('Jönköping', 'ing')

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email acr@antoniocarlosribeiro.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.