Downloads
Stars
Version
Check your server and application configuration according to APP_ENV
Run composer require arrilot/laravel-systemcheck
Register a service provider inside the app.php
configuration file.
...
'providers' => [
...
Arrilot\SystemCheck\ServiceProvider::class,
],
This package provides a php artisan system:check
command that performs a bunch of checks and prints results.
There are two modes.
Each mode has its own collection of checks.
The mode is determined automatically according to APP_ENV.
You can override current environment by passing --env to the command. php artisan system:check --env=production
By default the package treats the following environments as "production":
['production', 'prod']
You can override them by calling
app()->make(ChecksCollection::class)->setProductionEnvironments(['prod1', 'prod2']);
in your AppServiceProvider