laravel-word-refiner
laravel-word-refiner copied to clipboard
Laravel Word Refiner
Word refiner for laravel collection data
The Laravel Word Refiner package helps you to refine any words from your collection data.
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 [email protected] or [email protected] instead of using the issue tracker.
Credits
- All Contributors
License
The MIT License (MIT). Please see License File for more information.