delboy1978uk/palindrome

There is no license information available for the latest version (v1.0) of this package.

Palindrome Code Kata

v1.0 2015-05-01 03:12 UTC

This package is auto-updated.

Last update: 2024-12-04 22:31:57 UTC


README

Build Status Code Coverage Scrutinizer Code Quality

Installation via Packagist

composer create-project delboy1978uk/palindrome --stability=dev

Running from a Browser

index.php has a text field and submit button which calls the palindrome API. Running the CLI command

The palindrome command is in the bin directory. You can add several words.

./palindrome radar failingword kayak dad mum etc 

The kata command is also in the bin directory. This accepts input and produces output to the code kata spec. Type in the following comand and follow the instructions

./kata

Calling the API

api.php?query=radar

Testing with Codeception

vendor/bin/codecept run unit --coverage-html

Travis

Tests are being run on PHP 5.4, 5.5, 5.6, and HHVM Scrutinizer

Scrutinizer inspects code for bad smells etc. Coverage clovers are uploaded from the Travis builds to Scrutinizer. See status icons above.