Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vcian/laravel-word-refiner
Laravel Word Refiner
https://github.com/vcian/laravel-word-refiner
laravel laravel-collections laravel-framework obscene offensive php refiner word-refiner
Last synced: 6 days ago
JSON representation
Laravel Word Refiner
- Host: GitHub
- URL: https://github.com/vcian/laravel-word-refiner
- Owner: vcian
- License: mit
- Created: 2018-12-21T10:56:27.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-19T11:01:31.000Z (over 1 year ago)
- Last Synced: 2024-09-30T10:40:29.275Z (about 1 month ago)
- Topics: laravel, laravel-collections, laravel-framework, obscene, offensive, php, refiner, word-refiner
- Language: PHP
- Homepage: https://packagist.org/users/vcian/packages/
- Size: 19.5 KB
- Stars: 26
- Watchers: 6
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Word refiner for laravel collection data
The Laravel Word Refiner package helps you to refine any words from your collection data.
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
## Installation
You can install the package via composer:
```bash
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.
```bash
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](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) 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](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.