Download the PHP package steevanb/php-url-test without Composer

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

version Lines Total Downloads

php-url-test

Tests all urls of your application

Changelog

Installation

/!\ Keep in mind this is an alpha version /!\

Don't allow to update minor/bug fix versions, as we can break compatibility between bug fixes until final release.

Use it with official Docker image

Instead of install it in your project with Composer, you can use official Docker image.

Launch tests

Read test results and show informations

You can create your own ResultReader, by implementing steevanb\PhpUrlTest\ResultReader\ResultReaderInterface.

Then you can use it as you use ConsoleResultReader, with --reader parameter.

You can separate readers by ,:

Stop on error and resume your tests

You have 3 parameters to stop tests when a test fail, and resume tests from the one who fail, or skip it and continue after this one :

 Change directory where UrlTest could write files

Dump configuration

YAML test file example

Only request.url is required.

You can define default configurations for all tests in your .urltest.yml file :

ResponseBodyTransformer

A response body transformer will modify response body at 2 differents steps:

List of available transformers:

Create your own ResponseBodyTransformer

To create your own ResponseBodyTransformer, you have to do this steps:

Global configuration file

You can define global configurations in urltest.yml.

This configurations will be applied to all tests.


All versions of php-url-test with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
ext-curl Version *
ext-json Version *
steevanb/php-yaml Version ^1.0
symfony/console Version ^3.2||^4.0
symfony/options-resolver Version ^3.2||^4.0
symfony/yaml Version ^3.2||^4.0
symfony/process Version ^3.2||^4.0
symfony/filesystem Version ^3.2||^4.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 steevanb/php-url-test contains the following files

Loading the files please wait ....