tenantcloud / laravel-restrict-commands
Package to restrict execution some commands in some environments
Installs: 11 945
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 1
Requires
- php: >=8.2
- illuminate/contracts: ^10.0
Requires (Dev)
- nunomaduro/larastan: ^2.6
- orchestra/testbench: ^8.5
- pestphp/pest: ^2.8
- php-cs-fixer/shim: ~3.19.2
- phpstan/phpstan: ~1.10.21
- phpstan/phpstan-mockery: ^1.1
- phpstan/phpstan-phpunit: ^1.3
- phpstan/phpstan-webmozart-assert: ^1.2
- tenantcloud/php-cs-fixer-rule-sets: ~3.0.0
This package is auto-updated.
Last update: 2024-12-14 21:16:07 UTC
README
About
Laravel package to restrict execution some commands in production, staging environments
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
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.1-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