PHPackages                             nishantsoni/artisan-remover - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. nishantsoni/artisan-remover

ActiveLibrary[Security](/categories/security)

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.

4.0.0(8y ago)016PHP

Since Apr 20Pushed 8y agoCompare

[ Source](https://github.com/NishantSoni/lara-package)[ Packagist](https://packagist.org/packages/nishantsoni/artisan-remover)[ RSS](/packages/nishantsoni-artisan-remover/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

Laravel Package - Artisan command remover
=========================================

[](#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.

Installation &amp; Configuration
--------------------------------

[](#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-

```
\Nishantsoni\Artisanremover\ArtisanRemoverServiceProvider::class,

```

Next step is to clear the configuration cache-

```
php artisan config:clear

```

How to use this package : Example-
----------------------------------

[](#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 :

```
REMOVE_COMMANDS=migrate:refresh

```

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

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

```

Now You will see in the commands list, the above commands are removed.

### it's ready for use!!!!

[](#its-ready-for-use)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

2940d ago

Major Versions

2.0.0 → 3.0.02018-04-23

3.0.0 → 4.0.02018-04-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ba78faf0240158552cf97d166b32dafbb1626093f1e1cc997f61cbc1293927b?d=identicon)[nishantsoni287](/maintainers/nishantsoni287)

---

Top Contributors

[![NishantSoni](https://avatars.githubusercontent.com/u/26346427?v=4)](https://github.com/NishantSoni "NishantSoni (5 commits)")

### Embed Badge

![Health badge](/badges/nishantsoni-artisan-remover/health.svg)

```
[![Health](https://phpackages.com/badges/nishantsoni-artisan-remover/health.svg)](https://phpackages.com/packages/nishantsoni-artisan-remover)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
