Package Data | |
---|---|
Maintainer Username: | hamzahjamad |
Maintainer Contact: | ibrahim@klsandbox.com (Ibrahim Abdul Rahim) |
Package Create Date: | 2017-01-31 |
Package Last Update: | 2017-01-31 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-02-09 15:08:31 |
Package Statistics | |
---|---|
Total Downloads: | 151 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
This is a package to check some of the keyword being used in files inside folder. This package are developed on Laravel 5.
composer require klsandbox/laravelban
After installing via composer, add the LaravelBanServiceProvider as one of the provider inside the config/app.php
config/app.php
'providers' => [
....
....
Klsandbox\LaravelBan\LaravelBanServiceProvider::class,
then, publish the config simply by using publish command
php artisan vendor:publish
open the config for banned keyword, go to the config/banned-keywords.php , specify the keywords and the directory need to be searched.
after that, run the command to search for the banned keywords
php artisan check:banned-keywords
you can also specify the keyword from the terminal
php artisan check:banned-keywords another_keyword
add optional argument to make it strict
php artisan check:banned-keywords --mode=strict
If you discover a security vulnerability within this package, please send an e-mail to Ibrahim Abdul Rahim at ibrahim@klsandbox.com.
This client are open-sourced software licensed under the MIT license.