axisofstevil / stop-words
A library for managing and filtering text with stop words
Fund package maintenance!
stevenmaguire
Installs: 111 464
Dependents: 2
Suggesters: 0
Security: 0
Stars: 8
Watchers: 3
Forks: 2
Open Issues: 1
Requires
- php: ^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- laravel/pint: ^1.1
- pestphp/pest: ^1.20
- spatie/ray: ^1.28
This package is auto-updated.
Last update: 2024-10-09 02:32:43 UTC
README
Installation
You can install the package via composer:
composer require axisofstevil/stop-words
Usage
$filter = new Axisofstevil\StopWords\Filter(); echo $filter->cleanText('A Walk to Remember'); // 'Walk Remember' $filter->setWords(array('a','walk','to')); echo $filter->cleanText('A Walk to Remember'); // 'Remember' $filter->mergeWords(array('remember')); echo $filter->cleanText('A Walk to Remember'); // ''
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.