Download the PHP package danack/sitetool without Composer

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

SiteTool

A couple of very simple tools for checking sites and site migration.

Site crawler

Crawls a site to find all links, and then fetches them. Run with:

Reults by default will be written to 'crawl_result.txt'.

Migration checker

Once a site has been crawled, then you can check to see if the same paths are available on a different domain.

This allows you to check that migrating to a new platform hasn't lost any paths.

Visualizing events

As the whole application is tied together using events, it can be difficult to comprehend how the different parts of the app fit together.

Appending to any of the commands will make the application generate a graph of how the events + processors are tied together for that command, rather than running the command.

The graph generation depends on having graphviz available. There is a docker composer file for this project to allow generating graphs inside that, which can be invoked with something like.

If the project is not checked out to a directory named 'sitetool' you may need to run docker ps to find the exact docker image name.

Naming things

Event names

Event names should be a past tense phrase that described what has happened. Examples:

FoundUrl FoundUrlToFetch FoundUrlToSkip
ReceivedHtml ResponseWasOk ResponseWasError ResponseWasReceived

Processor names

Processor names should be of the form 'verb' + 'object' or 'verb' + 'object' + 'condition'. If possible use the event name as the object.

CheckResponseContentTypeIsHtml CheckResponseIsOk FetchUrl LogResponseWasOk LogResponseWasError LogFoundUrlToSkip ParseReceivedHtmlToFindUrls DecideFoundUrlShouldBeFollowed

Where it makes sense, use the event name that is being listened for, in the procesor name.

php phpstan.phar analyze -c ./phpstan.neon -l 7 src


All versions of sitetool with dependencies

PHP Build Version
Package Version
Requires php Version ^7
rdlowrey/auryn Version ^1.4.0
danack/aurynconfig Version ^0.9.1
danack/console Version ~2.6
danack/tier Version ^0.7.1
fluentdom/fluentdom Version ~5.3
amphp/artax Version ~3.0.14
zendframework/zend-eventmanager Version ^3.0
alom/graphviz Version ~1.1
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 danack/sitetool contains the following files

Loading the files please wait ....