2017 © Pedro Peláez
 

library artisan-remover

An package for remove artisan commands in the laravel application, some times there is a need to remove some cmds from the production for security reason.

image

nishantsoni/artisan-remover

An package for remove artisan commands in the laravel application, some times there is a need to remove some cmds from the production for security reason.

  • Wednesday, April 25, 2018
  • by nishantsoni287
  • Repository
  • 0 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Laravel Package - Artisan command remover

Sometimes there is a need to remove the artisan commands from the productions for the security reason, so by this package you can remove the artisan commands from artisan commands list., (*1)

Installation & Configuration

composer require nishantsoni/artisan-remover

Once this operation completes, the next step is to add the service provider. Open config/app.php, and add a new item to the service providers array-, (*2)

\Nishantsoni\Artisanremover\ArtisanRemoverServiceProvider::class,

Next step is to clear the configuration cache-, (*3)

php artisan config:clear

How to use this package : Example-

Once you have done all the above steps, then you just need to set the ENV variable in .env file and its value will be artisan-commands which you want to remove, example :, (*4)

REMOVE_COMMANDS=migrate:refresh

If you want to remove some more commands then you just need to add by comma, like this :, (*5)

REMOVE_COMMANDS=migrate:refresh,migrate:reset,migrate:fresh,cache:clear

Now You will see in the commands list, the above commands are removed., (*6)

it's ready for use!!!!

The Versions

25/04 2018

dev-master

9999999-dev

An package for remove artisan commands in the laravel application, some times there is a need to remove some cmds from the production for security reason.

  Sources   Download

by Nishant Soni

23/04 2018

4.0.0

4.0.0.0

An package for remove artisan commands in the laravel application, some times there is a need to remove some cmds from the production for security reason.

  Sources   Download

by Nishant Soni

23/04 2018

3.0.0

3.0.0.0

An package for remove artisan commands in the laravel application, some times there is a need to remove some cmds from the production for security reason.

  Sources   Download

by Nishant Soni

20/04 2018

2.0.0

2.0.0.0

An package for remove artisan commands in the laravel application, some times there is a need to remove some cmds from the production for security reason.

  Sources   Download

by Nishant Soni