Download the PHP package infinitypaul/laravel-uptime without Composer

On this page you can find all versions of the php package infinitypaul/laravel-uptime. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-uptime

Laravel Uptime - Stay Up And Running

Latest Version on Packagist Build Status Quality Score Total Downloads

Keep track of critical endpoints with this command-line uptime monitor. Add an endpoint, set a frequency and listen to an event if something goes down.

Installation

You can install the package via composer:

Configuration

To publish Uptime's configuration and migration files, run the vendor:publish command.

This will create a uptime.php in your config directory. The default configuration should work just fine for you, but you can take a look at it, if you want to customize the table / model names Uptime will use

Run the migration command, to generate all tables needed for Uptime.

After the migration, 2 new tables will be created:

Commands

Once Package is Installed, The Following Commands Will Be Available To You

Command Descriptions Argument Options
endpoint:add Add An Endpoint To Monitor url eg: https://infinitypaul.com Frequency in Minutes eg 20, default is 5
endpoint:remove Remove An Endpoint id of the end endpoint eg 2 null
uptime:status Display The Status Of All Endpoint null force : check for the status of the endpoint and display as well
uptime:run Run The Whole Endpoint To Get Status null force : get an immediate response of the endpoint irrespective of the minutes

Add An Endpoint

Add Infinitypaul.com as a frequency of 5

Add The Base URL of your laravel project

Display All Endpoint

Display All the Endpoint And Status In A Beautiful Table

Check The Status Of The Endpoint Irrespective Of Their Frequency And Display As Well

Remove An Endpoint

Remove An Endpoint From The List Of EndPoint To Be Monitored

Ping All Endpoint

Ping All The Endpoint And Get The Up Or Down Status In Order Of Their Frequency

Ping All The Endpoint And Get The Up Or Down Status Irrespective Of Their Frequency

Scheduling

You can add the run command in your task scheduling to run every minute

Endpoints Down/Up Events

If you need to run additional processes when an endpoint is down or back up, you can Listen for these events:

In your EventServiceProvider add your listener(s):

The EndpointIsBackUp and EndpointIsDown event exposes the Endpoint and Status. In your listener, you can access them like so:

How can I thank you?

Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!

Don't forget to follow me on twitter!

Thanks! Edward Paul.

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-uptime with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
illuminate/support Version ~5.5|~6.5|^7.0
guzzlehttp/guzzle Version 5.*|6.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package infinitypaul/laravel-uptime contains the following files

Loading the files please wait ....