| Recommend this page to a friend! | 
|  Download | 
| Info | Documentation |  Files |  Install with Composer |  Download | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not yet rated by the users | Total: 47 | All time:  10,774 This week: 455  | ||||
| Version | License | PHP version | Categories | |||
| envchecker 1.0.0 | MIT/X Consortium ... | 5 | PHP 5, Files and Folders, Libraries | 
| Description | Author | |||
| This package can check if variables in a .env file are outdated. Innovation Award 
 | 
Simple Laravel 5 package that checks if your .env file is outdated.
Add Envchecker to your composer.json file:
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
|  Files (15) | 
| File | Role | Description | ||
|---|---|---|---|---|
|  spec (1 directory) | ||||
|  src (1 directory) | ||||
|  tests (2 files) | ||||
|    .travis.yml | Data | Auxiliary data | ||
|    composer.json | Data | Auxiliary data | ||
|    composer.lock | Data | Auxiliary data | ||
|    phpspec.yml | Data | Auxiliary data | ||
|    README.md | Doc. | Documentation | ||
|  Files (15) | / | spec | / | EnvChecker | 
| File | Role | Description | 
|---|---|---|
|  EnvCheckerSpec.php | Class | Class source | 
|  EnvSpec.php | Class | Class source | 
|  Files (15) | / | src | / | EnvChecker | 
| File | Role | Description | ||
|---|---|---|---|---|
|  Commands (1 file) | ||||
|  Config (1 file) | ||||
|  Exception (1 file) | ||||
|  Env.php | Class | Class source | ||
|  EnvChecker.php | Class | Class source | ||
|  EnvCheckerServiceProvider.php | Class | Class source | ||
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
|  Install with Composer | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
 | 
 | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.
 If you know an application of this package, send a message to the author to add a link here.