klsandbox/laravelban

Banned keyword checker for Laravel , this package provide the functionality to search keyword(s) inside the files
152
Install
composer require klsandbox/laravelban
Latest Version:v1.0.2
PHP:^5.3.3 | ^7.0
License:MIT
Last Updated:Jan 31, 2017
Links: GitHub  ·  Packagist
Maintainer: hamzahjamad

Banned Keywords Checker For Laravel

This is a package to check some of the keyword being used in files inside folder. This package are developed on Laravel 5.

Install using composer

composer require klsandbox/laravelban

How To Use

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

Security Vulnerabilities

If you discover a security vulnerability within this package, please send an e-mail to Ibrahim Abdul Rahim at ibrahim@klsandbox.com.

License

This client are open-sourced software licensed under the MIT license.

Related Packages

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

628,058,007 9,707
laravel/framework

The Laravel Framework.

572,249,171 34,893
laravel/tinker

Powerful REPL for the Laravel framework.

485,678,092 7,440