Download the PHP package cytopia/check_http_expect without Composer

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

check_http_expect

Nagios plugin that will check a website (behind .htacess and/or behind POST login) for an expected string based on a simple string or regex expression.

Build Status Latest Stable Version Total Downloads Latest Unstable Version License POSIX Type


Awesome-Nagios-Plugins Find more plugins at Awesome Nagios
Icinga Exchange Find more plugins at Icinga Exchange
Nagios Exchange Find more plugins at Nagios Exchange

1. Usage

2. Generic Examples

2.1 Search simple string

Check if a website contains the word google

2.2 Search via regex

Check if a website contains the the following regex [0-9]+

2.3 .htaccess protection

Check behind a .htaccess protected website for the string Your site is secured

2.4 POST Login

Login to at http://www.example.com/login.php with POST data usernameFieldName=John, passwordFieldName=pass, submit=1, go to http://www.example.com and check for the regex [0-9]+

Note: htaccess and POST login can also be combined.

2.5 Set Cookies

Send a request with a custom cookie

2.6 Multiple Search-Strings and different user-agent

When searching for multiple strings on the same page, its not necessary to do multiple requests. Just specify as many find-parameters as you need. You may want to change the user-agent with the parameter ua as well, in order to avoid undesired redirects.

If only some of the specified search-strings are matched, then a warning is returned.

3. Specific Examples

3.1 Log into wordpress.com

Find String in Wordpress.com dashboard

4. Awesome

Added by the following Awesome lists:


All versions of check_http_expect with dependencies

PHP Build Version
Package Version
No informations.
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 cytopia/check_http_expect contains the following files

Loading the files please wait ....