Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

arrilot/laravel-systemcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version Total Downloads Build Status Scrutinizer Quality Score

Laravel System Check

Check your server and application configuration according to APP_ENV

Installation

  1. Run composer require arrilot/laravel-systemcheck

  2. Register a service provider inside the app.php configuration file.

...
'providers' => [
    ...
    Arrilot\SystemCheck\ServiceProvider::class,
],

Usage

This package provides a php artisan system:check command that performs a bunch of checks and prints results.

screenshot

There are two modes.

  1. production
  2. dev

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

Configuration

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages