Export the Laravel environment file to a capable web server format.
composer require RamyTalal/Exporter
php artisan env:export nginx --file=.env
use Talal\Exporter\Exporter;
use Talal\Exporter\Output\Nginx;
$file = file_get_contents('.env');
$exporter = new Exporter(new Nginx($file));
echo $exporter->output();
Nginx, Apache, IIS, lighttpd, and bash are supported.
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email ramy@thinkquality.nl instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.