Export the Laravel environment file to a capable web server format.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.editorconfig
.gitattributes
.gitignore
.scrutinizer.yml
.styleci.yml
.travis.yml
CONDUCT.md
CONTRIBUTING.md
LICENSE.md
README.md
composer.json
composer.lock
phpunit.xml.dist

README.md

Exporter

Latest Version on Packagist Software License Build Status Quality Score StyleCI Total Downloads

Export the Laravel environment file to a capable web server format.

Install

composer require RamyTalal/Exporter

Usage

Laravel

php artisan env:export nginx --file=.env

Standalone

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.

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email ramy@thinkquality.nl instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.