Download the PHP package alex-moreno/glitcherbot without Composer

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

Visual regression testing made easy

Automating the boring stuff.

Managing a website can be difficult. You can end up with hundreds of pages, and making sure all of them are functional after an event, say a deployment, peaks of traffic, editorial changes, ads or javascripts behaving badly, ... Creating software and maintaining websites and apps is hard... regression testing should not.

Before you start, Clone / fork this repository and go into the folder. There are two ways of using this tool: With Docker.

Vagrant

Download and install Vagrant.

Requirements

Installation

  1. Download and unzip the package:

  2. Run:

  3. Make a copy of your config.php

Usage

Create a .csv which contains a list of urls to iterate over (see example.csv).

If using Acquia Site Factory, a command is supplied to generate a list of sites from a sites.json file. You'll need to:

  1. Download the sites.json in your Acquia Cloud subscription

  2. Vagrant up if you want to use the crawler inside the virtual machine (recommended).

  3. Run the crawl against that json

You can see all available commands by running:

For help with a specific command use:

Whilst debugging, increase verbosity by adding a number of -v flags.

-v : verbose -vv : very verbose -vvv : debug

Configuration

There are some settings that you can configure, like the headers that you'll send to the site or the concurrency that you want to use.

Move your config.sample.php into config.php and adapt to your needs. For example:

Note: The higher the concurrency is configured, the more sites it will run on each step, but be careful, php is fast (contrary to popular belief), it could send high load to a site and put it in trouble. Big power means bigger responsibility.

Stand Alone Tool

To run the regression tool as a stand along interface you need to point your webserver at the html/ directory in the repo.

PHP Web Server

A composer script has been included to aid with testing of the tool. To run this use the command.

Then navigate to the following address in your browser.

Docker

A docker setup has been included to aid with the running or the tool.

Download and install Docker

Starting the Docker container

This command will start the containers

make up

Building the tool (only need to run once)

This command will check if the config file exists and create one if needed. Then it will install all Composer dependencies.

make build

Crawling

This command will use sample-sites.csv as source of urls to Crawl by default.

make crawl

To run the command with a different file, use the syntax

make crawl SITES_CSV=path_to_sites_csv

or for Acquia json files:

make crawl-acquia SITES_JSON=sitesd8-prod.json

Keep in mind that the crawl runs within the container, so path_to_sites_csv needs to be relative to the container.

Web interface

Opens the tool on the browser.

make open

Stopping the container

make stop

Chained commands.

You can run all commands at once, for example the following command will start the containers, build, craw and open the browser.

make up build crawl open

Parameters

--include_sitemaps=yes

This will include all sitemaps in the website, if they are referenced from the robots.txt

--force_sitemaps=yes

Using makefile and Docker:

make crawl SITES_CSV=sample-sites.csv INCLUDE_SITEMAPS=yes

make crawl SITES_CSV=sample-sites.csv FORCE_SITEMAPS=yes


All versions of glitcherbot with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^7.2
amphp/parallel Version ^1.4
php Version >=7.0
symfony/console Version ^5.2
twig/twig Version ^3.1
ext-simplexml Version *
symfony/http-kernel Version ^5.2
symfony/routing Version ^5.2
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 alex-moreno/glitcherbot contains the following files

Loading the files please wait ....