aqlx86/envchecker
Introduction
Simple Laravel 5 package that checks if your .env file is outdated.
Installation
Add Envchecker to your composer.json file:
composer.phar require "aqlx86/envchecker"
Add the service provider to your Laravel application config:
EnvChecker\EnvCheckerServiceProvider::class
Configuration
php artisan vendor:publish --provider="EnvChecker\EnvCheckerServiceProvider"
Update config/envchecker.php
return [
// template env file path
'example' => base_path('.env.example'),
// local env file
'local' => base_path('.env'),
// optional env vars
'optional' => []
];
Usage
php artisan env:check
Sample Output
template file contains new values.
+------------------+---------------+
| New Keys | Default Value |
+------------------+---------------+
| MAIL_PORT | 2525 |
| MAIL_ENCRYPTION2 | null |
+------------------+---------------+
Test
PHPSpec
./bin/phpspec run
Todo PHPUnit
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
634,760,849
9,707
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
408,553,772
609
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
387,976,821
4,658