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. tenantcloud/laravel-restrict-commands

ActiveLibrary

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

Package to restrict execution some commands in some environments

v2.0.0-alpha.1(10mo ago)022.0k↓30%MITPHPPHP &gt;=8.3CI passing

Since Aug 1Pushed 10mo 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 1mo ago

READMEChangelog (5)Dependencies (10)Versions (9)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

38

—

LowBetter than 85% of packages

Maintenance53

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

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

326d 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

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[timokoerber/laravel-one-time-operations

Run operations once after deployment - just like you do it with migrations!

6481.7M11](/packages/timokoerber-laravel-one-time-operations)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[wnx/laravel-sends

Keep track of outgoing emails in your Laravel application.

200427.3k](/packages/wnx-laravel-sends)[illuminate/process

The Illuminate Process package.

44699.5k65](/packages/illuminate-process)

PHPackages © 2026

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