PHPackages                             tenantcloud/laravel-restrict-commands - 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. [CLI &amp; Console](/categories/cli)
4. /
5. tenantcloud/laravel-restrict-commands

ActiveLibrary[CLI &amp; Console](/categories/cli)

tenantcloud/laravel-restrict-commands
=====================================

Package to restrict execution some commands in some environments

v2.0.0-alpha.1(1y ago)023.8k↓45.6%[1 PRs](https://github.com/tenantcloud/laravel-restrict-commands/pulls)MITPHPPHP &gt;=8.3CI passing

Since Aug 1Pushed 2mo agoCompare

[ Source](https://github.com/tenantcloud/laravel-restrict-commands)[ Packagist](https://packagist.org/packages/tenantcloud/laravel-restrict-commands)[ RSS](/packages/tenantcloud-laravel-restrict-commands/feed)WikiDiscussions alpha Synced today

READMEChangelog (5)Dependencies (10)Versions (10)Used By (0)

### About

[](#about)

Laravel package to restrict execution some commands in production, staging environments

### Installation

[](#installation)

In your `composer.json`, add this repository:

```
"repositories": [
    {
        "type": "git",
        "url": "https://github.com/tenantcloud/laravel-restrict-commands"
    }
],

```

Then run `composer require tenantcloud/laravel-restrict-commands` to install the package.

### Commands

[](#commands)

Install dependencies: `docker run -it --rm -v $PWD:/app -w /app composer install`

Run tests: `docker run -it --rm -v $PWD:/app -w /app php:8.4-cli vendor/bin/phpunit`

Run cs-fix: `docker run -it --rm -v $PWD:/app -w /app composer cs-fix`

Run phpstan: `docker run -it --rm -v $PWD:/app -w /app composer phpstan`

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance68

Regular maintenance activity

Popularity26

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~173 days

Total

5

Last Release

373d ago

Major Versions

v1.0.0-alpha.4 → v2.0.0-alpha.12025-06-27

PHP version history (3 changes)v1.0.0-alpha.1PHP &gt;=8.1

v1.0.0-alpha.3PHP &gt;=8.2

v2.0.0-alpha.1PHP &gt;=8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/08f421d0127cd5dd06158a3ef66dee8fa7f6589677349c379be87c46d3acc99c?d=identicon)[tcmbilozub](/maintainers/tcmbilozub)

---

Top Contributors

[![tcmbilozub](https://avatars.githubusercontent.com/u/35073636?v=4)](https://github.com/tcmbilozub "tcmbilozub (7 commits)")[![ArturOlarTC](https://avatars.githubusercontent.com/u/129047149?v=4)](https://github.com/ArturOlarTC "ArturOlarTC (5 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (5 commits)")[![oprypkhantc](https://avatars.githubusercontent.com/u/54406427?v=4)](https://github.com/oprypkhantc "oprypkhantc (4 commits)")[![package-sync[bot]](https://avatars.githubusercontent.com/u/35073549?v=4)](https://github.com/package-sync[bot] "package-sync[bot] (3 commits)")

---

Tags

laravelpackagephp

###  Code Quality

TestsPest

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tenantcloud-laravel-restrict-commands/health.svg)

```
[![Health](https://phpackages.com/badges/tenantcloud-laravel-restrict-commands/health.svg)](https://phpackages.com/packages/tenantcloud-laravel-restrict-commands)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M201](/packages/laravel-ai)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725173.2k14](/packages/tallstackui-tallstackui)

PHPackages © 2026

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