The Laravel Word Refiner package helps you to refine any words from your collection data.
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
Use this helper function to refine collection data value.
refiner(collect(['key' => 'value'])); //It will remove deprecated word from your value.
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security-related issues, please email vishal@viitorcloud.com or ruchit.patel@viitor.cloud instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.