2017 © Pedro Peláez
 

extension nyan-formatters

PHPSpec Nyan Formatter Extension

image

phpspec/nyan-formatters

PHPSpec Nyan Formatter Extension

  • Tuesday, July 3, 2018
  • by md
  • Repository
  • 4 Watchers
  • 74 Stars
  • 157,765 Installations
  • PHP
  • 35 Dependents
  • 5 Suggesters
  • 5 Forks
  • 1 Open issues
  • 5 Versions
  • 6 % Grown

The README.md

PHPSpec Nyan Formatters Extension

This PHPSpec extension provides Nyan formatters for PHPSpec., (*1)

Requirements

This extension requires:, (*2)

  • PHP 5.3.3 or later.
  • A terminal emulator with support for ANSI escape sequences, including color and cursor control.

NOTE: By default, the Windows console does not support ANSI escape sequences. If you'd like to use this extension on Windows, you may want to try one of the following solutions:, (*3)

Installation

To install this, make sure you are using the latest release of PHPSpec, and then add the following to your composer.json:, (*4)

"require-dev": {
    ...,
    "phpspec/nyan-formatters": "2.*"
}

Install or update your dependencies, and then in a phpspec.yml file in the root of your project, add the following:, (*5)

extensions:
    PhpSpec\NyanFormattersExtension\Extension: ~

Then, you can add a --format switch to your phpspec command with one of the following values:, (*6)

  • nyan.cat - Gives the standard Nyan Cat formatter

nyan cat formatter preview, (*7)

  • nyan.dino - Gives a dinosaur formatter - Rawwr!

nyan dino formatter preview, (*8)

  • nyan.crab - Gives a crab formatter

nyan crab formatter preview, (*9)

If you want to use one of the formatters all the time, you can enforce a default by adding a formatter.name option in the phpspec.yml file as follows:, (*10)

formatter.name: nyan.dino

Authors

This project was written by:, (*11)

Contributions

This project wouldn't have been possible without the help and support of the following people:, (*12)

The Versions

03/07 2018

dev-master

9999999-dev https://github.com/phpspec/nyan-formatters

PHPSpec Nyan Formatter Extension

  Sources   Download

MIT

The Requires

 

phpspec nyan

04/08 2017

2.0.1

2.0.1.0 https://github.com/phpspec/nyan-formatters

PHPSpec Nyan Formatter Extension

  Sources   Download

MIT

The Requires

 

phpspec nyan

22/07 2016

2.0

2.0.0.0 https://github.com/phpspec/nyan-formatters

PHPSpec Nyan Formatter Extension

  Sources   Download

MIT

The Requires

 

phpspec nyan

16/07 2014

1.0.1

1.0.1.0 https://github.com/phpspec/nyan-formatters

PHPSpec Nyan Formatter Extension

  Sources   Download

MIT

The Requires

 

phpspec nyan

05/01 2014

1.0.0

1.0.0.0 https://github.com/phpspec/nyan-formatters

PHPSpec Nyan Formatter Extension

  Sources   Download

MIT

The Requires

 

phpspec nyan