ramytalal / exporter
Export the Laravel environment file to a capable web server format.
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ramytalal/exporter
Requires
- php: ^7.0
- illuminate/console: ~5.5.0|~5.6.0
- illuminate/filesystem: ~5.5.0|~5.6.0
Requires (Dev)
- phpunit/phpunit: 6.*
README
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.