Download the PHP package jeffersonsimaogoncalves/cakephp-server-monitor without Composer

On this page you can find all versions of the php package jeffersonsimaogoncalves/cakephp-server-monitor. 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 cakephp-server-monitor

CakeServerMonitor

CakePHP 3 Plugin for Monitoring Server Stats

Installation

Notification

CakeServerMonitor currently supports notification via email. You can configure recipients' email addresses in your applications 'config/bootstrap.php' file using overwriting the CakeServerMonitor.email.recipients key:

Scheduling task

The last step to make this work is to add a cron job. You can do so by adding a similar line as shown below to your system's crontab file. Do remember to update the path to your own project. The following cron job runs at 1 am every day, you can change it to your own preference.

* 1 * * * cd path && bin/cake monitor run

Customisation

CakeServerMonitor does provide some customisation options.

by default CakeServerMonitor uses the default profile to send an email. You can change it to your own preference using the CakeServerMonitor.email.profile key:

by default CakeServerMonitor checks following stats:

Under the hood, each checker is actually a class under JeffersonSimaoGoncalves namespace. You can overwrite what checkers to run via the CakeServerMonitor.commands key:

You can remove any checkers above so it won't run.

As you might have already guessed, you can create your own checker to extend CakeServerMonitor's abilities. To do so, creates a class extends from JeffersonSimaoGoncalves\CakeServerMonitor\CommandDefinition\CommandDefinition abstract class and implement its defined abstract methods.

After that, add your own checker to the CakeServerMonitor.commands key as shown in previous section.

Helper methods

To view current server stats:

bin/cake monitor view

Credits

This work is fork on the code by watchowl.


All versions of cakephp-server-monitor with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
cakephp/cakephp Version ^3.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 jeffersonsimaogoncalves/cakephp-server-monitor contains the following files

Loading the files please wait ....