vcian / laravel-word-refiner

Laravel Word Refiner

Home Page:https://packagist.org/users/vcian/packages/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Word refiner for laravel collection data

The Laravel Word Refiner package helps you to refine any words from your collection data.

Software License

Installation

You can install the package via composer:

composer require vcian/laravel-word-refiner

After installation, You need to publish the config file for this package. This will add the file config/refiner.php, where you can add extra word which you want to deprecate from your collection data.

php artisan vendor:publish

Usage

Use this helper function to refine collection data value.

refiner(collect(['key' => 'value'])); //It will remove deprecated word from your value.

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security-related issues, please email vishal@viitorcloud.com or ruchit.patel@viitor.cloud instead of using the issue tracker.

Credits

License

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