| Recommend this page to a friend! | 
| Info | Documentation | 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
| File | Role | Description | ||
|---|---|---|---|---|
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Data | Auxiliary data | |||
| Doc. | Documentation | |||
| / | spec | / | EnvChecker | 
| File | Role | Description | 
|---|---|---|
|    | 
Class | Class source | 
|    | 
Class | Class source | 
| / | src | / | EnvChecker | 
| File | Role | Description | ||
|---|---|---|---|---|
|    | 
Class | Class source | ||
|    | 
Class | Class source | ||
|    | 
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. | 
| 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.