Download the PHP package djunehor/php-env-export without Composer
On this page you can find all versions of the php package djunehor/php-env-export. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-env-export
PHP Env Export
PHP Package to export env keys to new file
- Laravel Bible
- Installation
- Laravel 5.5 and above
- Laravel 5.4 and older
- Lumen
- Usage
- Contributing
- Installation
Installation
You can install the package via composer:
Laravel 5.5 and above
The package will automatically register itself, so you can start using it immediately.
Laravel 5.4 and older
In Laravel version 5.4 and older, you have to add the service provider in config/app.php
file manually:
Lumen
After installing the package, you will have to register it in bootstrap/app.php
file manually:
Usage
via helper method
Via Laravel Artisan Command
php artisan env:export
uses default values- Or
php artisan env:export --from=.env --to='.env.example
- Or
php artisan env:export -f=.env -to='.env.example
Via Console/Terminal
- At the root of your application, run
php --run "require 'vendor/djunehor/php-env-export/src/Export.php'; export_env();"
Contributing
- Fork this project
- Clone to your repo
- Make your changes and run tests
composer test
- Push and create a pull request
All versions of php-env-export with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.0
The package djunehor/php-env-export contains the following files
Loading the files please wait ....