Download the PHP package mihaeu/tarantula without Composer

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

Logo Tarantula

Build Status Coverage Status SensioLabsInsight

Tarantula is a web crawler written in PHP. It utilizes the amazing work of the people behind Guzzle and Symfony's DomCrawler.

Installation

Global tool

Make sure ~/.composer/bin is in your $PATH and then simply execute:

Library

Assuming you are using Composer, add the following to your composer.json file:

or use Composer's cli tool composer require mihaeu/tarantula:1.*.

Usage

Global tool

Right now the only command available is crawl. Some usage examples would be:

For all arguments and options use the help command:

Library

Have a look at the tests to see what's possible or just try the following in your code:

All HTTP requests go through Guzzle and you can add any configuration for Guzzle's request object also to Tarantula's HttpClient.

Tests

Test coverage is not at 100%, the reason being that this was an afternoon project and testing a crawler takes a lot of time due to the testing setup.

If you want to get a quick overview of the project, I recommend running the test suite with the --testdox flag:

To Do

Troubleshooting

Composer global install fails

This is most likely due to a conflict with some requirements of other global installs. Unfortunately Composer's architecture doesn't offer a solution for this yet. I tried to keep the requirements Tarantula loose to avoid this problem.

If you want to have Tarantula available throughout your system, just install to another directory (e.g. using composer create-project) and symlink bin/tarantula into a folder in your $PATH.

Thanks to

License

MIT, see LICENSE file.


All versions of tarantula with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
guzzle/guzzle Version 3.*
symfony/console Version 2.*
symfony/process Version 2.*
symfony/filesystem Version 2.*
symfony/dom-crawler Version 2.*
symfony/css-selector Version 2.*
zaininnari/html-minifier Version *
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 mihaeu/tarantula contains the following files

Loading the files please wait ....