@@ -14,7 +14,7 @@ Here is an example output of the command:
1414## Included checks
1515
1616- Is the APP_KEY set?
17- - Are your composer dependencies up to date?
17+ - Are your composer dependencies up to date with the composer.lock file ?
1818- Do you have the correct PHP version installed?
1919- Do you have the correct PHP extensions installed?
2020- Can a connection to the database be established?
@@ -75,14 +75,14 @@ return [
7575 'productionEnvironments' => [
7676 'prod',
7777 'production',
78+ 'live',
7879 ],
7980
8081 /*
8182 * Common checks that will be performed on all environments.
8283 */
8384 'checks' => [
8485 \BeyondCode\SelfDiagnosis\Checks\AppKeyIsSet::class,
85- \BeyondCode\SelfDiagnosis\Checks\ComposerIsUpToDate::class,
8686 \BeyondCode\SelfDiagnosis\Checks\CorrectPhpVersionIsInstalled::class,
8787 \BeyondCode\SelfDiagnosis\Checks\DatabaseCanBeAccessed::class,
8888 \BeyondCode\SelfDiagnosis\Checks\MigrationsAreUpToDate::class,
@@ -91,12 +91,13 @@ return [
9191 \BeyondCode\SelfDiagnosis\Checks\ExampleEnvironmentVariablesAreSet::class,
9292 \BeyondCode\SelfDiagnosis\Checks\DirectoriesHaveCorrectPermissions::class,
9393 \BeyondCode\SelfDiagnosis\Checks\StorageDirectoryIsLinked::class,
94- ],
94+ ],
9595
9696 /*
9797 * Production environment specific checks.
9898 */
9999 'production' => [
100+ \BeyondCode\SelfDiagnosis\Checks\Production\ComposerWithoutDevDependenciesIsUpToDate::class,
100101 \BeyondCode\SelfDiagnosis\Checks\Production\ConfigurationIsCached::class,
101102 \BeyondCode\SelfDiagnosis\Checks\Production\RoutesAreCached::class,
102103 \BeyondCode\SelfDiagnosis\Checks\Production\XDebugIsNotEnabled::class,
@@ -107,6 +108,7 @@ return [
107108 * Development environment specific checks.
108109 */
109110 'development' => [
111+ \BeyondCode\SelfDiagnosis\Checks\Development\ComposerWithDevDependenciesIsUpToDate::class,
110112 \BeyondCode\SelfDiagnosis\Checks\Development\ConfigurationIsNotCached::class,
111113 \BeyondCode\SelfDiagnosis\Checks\Development\RoutesAreNotCached::class,
112114 ],
0 commit comments