Download the PHP package khatriafaz/laravel-ensure-production without Composer
On this page you can find all versions of the php package khatriafaz/laravel-ensure-production. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download khatriafaz/laravel-ensure-production
More information about khatriafaz/laravel-ensure-production
Files in khatriafaz/laravel-ensure-production
Package laravel-ensure-production
Short Description This packages sets the production configuration automatically for laravel projects for the listed domains
License MIT
Informations about the package laravel-ensure-production
Ensure Production
Add this package to your project and configure domains where the environment must stay only production. That's it. The you don't have to remember where to update the env or a specific config for production domains.
Installation
You can install the package via composer:
composer require khatriafaz/laravel-ensure-production
You can publish the config to change to configured domains for production:
php artisan vendor:publish --provider="Khatriafaz\EnsureProductionServiceProvider"
You will find a new config published ensureproduction.php
.
You should modify the domains array to list your domains:
And that's it, the configured domains will now work on the production configuration always.
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Afaz Khatri
- Rakshit Patel
- All Contributors
License
The MIT License (MIT). Please see License File for more information.