PHPackages                             darkgoldblade01/status-check - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. darkgoldblade01/status-check

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

darkgoldblade01/status-check
============================

Perform a status check on your Laravel app.

00PHP

Since Mar 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/darkgoldblade01/status-check)[ Packagist](https://packagist.org/packages/darkgoldblade01/status-check)[ RSS](/packages/darkgoldblade01-status-check/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Status/Admin Checks in Laravel
==============================

[](#statusadmin-checks-in-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9e238c12c93bca3127ec6566028d6c7926d7612a8f92cd0331c60f570f012e5a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6461726b676f6c64626c61646530312f7374617475732d636865636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/darkgoldblade01/status-check)[![Build Status](https://camo.githubusercontent.com/9498c13c82c3c3b93ce6c4f614ae0b91b99c2653e07fe48d39c158ec30bfb67d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f6461726b676f6c64626c61646530312f7374617475732d636865636b2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.com/github/darkgoldblade01/status-check)[![Quality Score](https://camo.githubusercontent.com/cca5146cb3dfa30607a601f35729e49a5267de2f3bdb90f5a8ae7c2c9fad5350/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6461726b676f6c64626c61646530312f7374617475732d636865636b2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/darkgoldblade01/status-check)[![Total Downloads](https://camo.githubusercontent.com/7f679bbe22106f75a9a70f06c2146f6a0935e03af1b157bf21d62de39a958914/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6461726b676f6c64626c61646530312f7374617475732d636865636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/darkgoldblade01/status-check)

A basic package to handle checking different things in Laravel, and reporting on them.

- Admin Login Check - Handles logging all logins (only logs time, and user id) automatically
- Disk Space Check - Checks for free disk space and total disk space, by default passing is 50% free or higher, partial is 10%-49%, and less than 10% is failed.
- HTTP Status Check - Checks to see if the front page of your site is responding with a 200 status code. Option in the config to save the response body, by default it is disabled.
- SSL Checker - Checks the SSL status on your application, reports on expiration date, whether it's secure, and more.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require darkgoldblade01/status-check
```

Publish the config file:

```
php artisan vendor:publish --provider="Darkgoldblade01\StatusCheck\StatusCheckServiceProvider"
```

Migrate the database:

```
php artisan migrate
```

Usage
-----

[](#usage)

The base package has built in checks for a few key elements. If you would like to create your own checks, you can by just extending the `Darkgoldblade01\StatusCheck\Classes\Checker` class:

```
