Download the PHP package bpmconcept/ping-this without Composer

On this page you can find all versions of the php package bpmconcept/ping-this. 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 ping-this

PingThis

Build Status

PingThis is a lightweight PHP 7.2+ tool to build simple but functional headless monitoring systems.

Example

Quick description

PingThis aims to provide a simple and effective way for monitoring whatever you want. Configure a daemon with one Alarm and one or multiple Pings. The Daemon periodically verifies each Ping and, in case of failing, triggers the Alarm. Any class could act like an Alarm or a Ping, provided that it implements respectively the AlarmInterface or the PingInterface.

The different built-in Pings rely on Symfony's Expression Language Component to allow a quick and easy construction of triggering logic but can be equivalently replaced by a PHP callable.

Built-in Pings

Network

Name Description
NetworkPing Sends a standard ICMP ping and checks the ICMP response
StreamSocketCommandPing Sends a custom payload through a TCP/UDP/Unix socket and checks the response
TlsCertificateExpirationPing Initiates a TLS handshake and checks the expiration date of a certificate
SnmpGetValuePing Gets SNMP object value from a remote SNMP agent
SnmpWalkValuePing Gets SNMP object values from a remote SNMP agent

Web

Name Description
DatabasePing Establishes a connection to a database using PDO
DatabaseQueryPing Executes a SQL query on a database using PDO
HttpPing Sends a HTTP request and checks only the returned code
WebScraperPing Sends a HTTP request and get back a Response, along with a Crawler instance

Mails

Name Description
ImapServerPing Connects to a IMAP server and checks the welcome response
SmtpServerPing Connects to a SMTP server and checks the welcome response

Other services

Name Description
LdapSearchPing Executes a query on a LDAP server and checks the response

Built-in Alarms

Name Description
PhpEmailAlarm Send an email, using the PHP's mail() function
StreamAlarm Logs the alarms events to a given open stream (stdout or file for instance)
LogAlarm Specialized StreamAlarm for files that adds a lock on the log file
ParallelAlarm Dispatch the alert on multiple other Alarm instances

Installation

The recommended way to install PingThis is through Composer :

PingThis does not intend to provide a fully functional daemon out of the box. You are still responsible for writing a configured daemon like in the previous example. Thereafter, a real daemon can be registered to your favorite init system like systemd, upstart or supervisor.


All versions of ping-this with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0
symfony/expression-language Version ~5.0
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 bpmconcept/ping-this contains the following files

Loading the files please wait ....