New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

pragmarx/ia-str

Laravel Illuminate Agnostic Str
3,673,987 52
Install
composer require pragmarx/ia-str
Latest Version:v7.3.1
PHP:>=7.0
License:MIT
Last Updated:Sep 7, 2022
Links: GitHub  ·  Packagist
Maintainer: AntonioCarlosRibeiro

IlluminateAgnostic \ Str

Latest Stable Version License Code Quality Build Downloads

Coverage StyleCI PHP

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.

Related Packages

pragmarx/ia-collection

Laravel Illuminate Agnostic Collection

3,570,081 46
clarkeash/str

An extraction of Laravels Str class from Illuminate/Support.

185,333 1
izzle/support

Extracted Laravel Str Support Package

12,781 0
pragmarx/ia-arr

Laravel Illuminate Agnostic Arr

3,778,217 55
seffeng/str-helper

PHP extension string helper

1,867 0

Version History

Version Released PHP License
v7.3.1 >=7.0 MIT
v7.3.0 >=7.0 MIT
v6.0.3 >=7.0 MIT
v5.8.35 >=7.0 MIT
v5.8.7 >=7.0 MIT