Package Data | |
---|---|
Maintainer Username: | aqlx86 |
Maintainer Contact: | aqlx86@gmail.com (Arnel Labarda) |
Package Create Date: | 2016-02-14 |
Package Last Update: | 2021-12-30 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-01-03 03:21:55 |
Package Statistics | |
---|---|
Total Downloads: | 67,137 |
Monthly Downloads: | 1,644 |
Daily Downloads: | 57 |
Total Stars: | 4 |
Total Watchers: | 2 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Simple Laravel 5 package that checks if your .env
file is outdated.
Add Envchecker to your composer.json file:
composer.phar require "aqlx86/envchecker"
Add the service provider to your Laravel application config:
EnvChecker\EnvCheckerServiceProvider::class
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' => []
];
php artisan env:check
Sample Output
template file contains new values.
+------------------+---------------+
| New Keys | Default Value |
+------------------+---------------+
| MAIL_PORT | 2525 |
| MAIL_ENCRYPTION2 | null |
+------------------+---------------+
PHPSpec
./bin/phpspec run
Todo PHPUnit