A selection of minor programms or coding Katas Using PHP7
- PHP 7.0.*
- composer
the phpunit-tests are placed in the folder tests the code is placed in the folder src
Simply run composer install in the main directory to install the dependencies
Then, simply run vendor/bin/phpunit tests/ to run the unit tests
ArrayCounter: count the occurrence of an element, in an a given array. Also supports nested arraysChessBoard: a simple representation of a simple chess boardTennis-Folder: contains classes representing a tennis-scoring gameSimpleStack: a simple LIFO (first in last out) stack implementation.FizzBuzz: the famous FizzBuzz Code-KataStringCalculator: a simple class, that converts a string separated with commas into an array of integersPrimeFactors: the prime factors coding kata by uncle bob