Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.
/ Exporter Public archive

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

License

Notifications You must be signed in to change notification settings

RamyTalal/Exporter

Repository files navigation

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.