Download the PHP package murilochianfa/laravel-command-blocker without Composer
On this page you can find all versions of the php package murilochianfa/laravel-command-blocker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download murilochianfa/laravel-command-blocker
More information about murilochianfa/laravel-command-blocker
Files in murilochianfa/laravel-command-blocker
Package laravel-command-blocker
Short Description Block selected commands in specific environments
License MIT
Homepage https://github.com/MuriloChianfa/laravel-command-blocker
Informations about the package laravel-command-blocker
Laravel Command Blocker
The Laravel Command Blocker package provides a seamless solution for hiding and block Laravel commands in specific environments, enhancing the security and control of your Laravel applications.
Features
-
Environment-Based Command Visibility: Easily configure the package to hide and/or block specific Laravel commands based on the application's environment.
-
Enhanced Security: Prevent development or sensitive commands from being visible and/or executable in production or other critical environments.
- Straightforward Configuration: Simple configuration settings in your Laravel application make it easy to manage command visibility.
Installation
You can install the package via Composer:
Next, publish the configuration file:
Dependencies
- Laravel 10.0 or higher.
- PHP 8.2 or higher.
Configuration
Open the generated configuration file (config/laravel-command-blocker.php) and set up the environments and commands you want to hide or block:
Commitment to Quality
During package development, try as best as possible to embrace good design and development practices to try to ensure that this package is as good as it can be. The checklist for package development includes:
- ✅ Be fully PSR4 and PSR12 compliant.
- ✅ Include comprehensive documentation in README.md.
- ✅ Have no PHPCS warnings throughout all code.
Testing
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Murilo Chianfa
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-command-blocker with dependencies
ext-json Version *
illuminate/support Version ^9.0 | ^10.0 | ^11.0
illuminate/console Version ^9.0 | ^10.0 | ^11.0