Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 1 month ago
JSON representation

Laravel Word Refiner

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.