Wallogit.com
2017 © Pedro Peláez
Banned keyword checker for Laravel , this package provide the functionality to search keyword(s) inside the files
This is a package to check some of the keyword being used in files inside folder. This package are developed on Laravel 5., (*1)
composer require klsandbox/laravelban, (*2)
After installing via composer, add the LaravelBanServiceProvider as one of the provider inside the config/app.php, (*3)
config/app.php
'providers' => [
....
....
Klsandbox\LaravelBan\LaravelBanServiceProvider::class,
then, publish the config simply by using publish command, (*4)
php artisan vendor:publish, (*5)
open the config for banned keyword, go to the config/banned-keywords.php , specify the keywords and the directory need to be searched., (*6)
after that, run the command to search for the banned keywords, (*7)
php artisan check:banned-keywords, (*8)
you can also specify the keyword from the terminal, (*9)
php artisan check:banned-keywords another_keyword, (*10)
add optional argument to make it strict, (*11)
php artisan check:banned-keywords --mode=strict, (*12)
If you discover a security vulnerability within this package, please send an e-mail to Ibrahim Abdul Rahim at ibrahim@klsandbox.com., (*13)
This client are open-sourced software licensed under the MIT license., (*14)