Download the PHP package yegor256/phprack without Composer

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

DevOps By Rultor.com

Build Status PDD status Hits-of-Code

Read about phpRack in ​php|Architect June 2010: "Integration Testing with phpRack Framework".

phpRack is a light framework for automation of integration tests. By integration tests we mean software modules that should be executed in the production environment, in order to validate that said environment is configured as expected. For example your product is a web2.0 application which depends on proper configuration of PHP, Apache, MySQL and availability of YouTube, Flickr and GoogleMaps API's. Your product is properly tested with unit tests (obviously you're using stubs for said services and components). When the product is deployed to the production environment, you want to be sure that the services you need are configured and available. If they are not — you want to get a notification about it before your end-users. And you want to get a detailed notification.

This is when phpRack is mandatory. You shall add phpRack to your project, and write a number of tests. All these tests will be executed when requested and will produce a detailed report, both only and by email. It will save you a lot of time during deployment and later, during maintenance of your product.

Quick Start

To start using phpRack you should do three operations:

Let's do them one by one:

Upload phpRack library

Download ZIP archive of phpRach and unpack it to public_html/phpRack or some other directory on your production server.

Create phprack.php

You should create phprack.php in your project's public directory (see full reference), e.g.:

Create integration tests

Write integration tests in the directory rack-tests, each one has to extend the class PhpRack_Test (see full list of assertions). For example, file MyTest.php:

Go to this URL: http://your-website-url/phprack.php and enjoy. Try this link to see what you're going to see on your site: ​http://www.phprack.com/phprack.php.

How to contribute?

First, fork our repository and clone it to your local machine and install Vagrant. Then, run:

vagrant up

A virtual machine with pre-installed requisites will be ready in a few minutes. Login to it and go to /vagrant directory:

vagrant ssh

Then, in the virtual machine run:

phing

All tests should pass. If you see any problems, please submit an new issue to us.

After you make your changes don't forget to run phing again to make sure you didn't break anything. When ready, submit a pull request.


All versions of phprack with dependencies

PHP Build Version
Package Version
Requires php Version >=5.2.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 yegor256/phprack contains the following files

Loading the files please wait ....