trburgess / fizz-buzz
Fizz Buzz test implementation.
dev-master
2017-08-16 10:36 UTC
Requires
- php: >=7.0
Requires (Dev)
- phpunit/phpunit: ^4.8|^5.0
- squizlabs/php_codesniffer: ^3.0
This package is not auto-updated.
Last update: 2025-01-19 05:00:55 UTC
README
This is an implementation of the Fizz Buzz Test
Getting started
composer require "trburgess/fizz-buzz:dev-master"
- Create a new instance:
$fizzBuzzProcessor = new FizzBuzz\Processor;
- Process the numbers:
$fizzBuzzProcessor->process(1, 100)
License
The Fizz Buzz PHP library is free software released under the MIT License. See LICENSE for details.
Example
For an example see: https://github.com/trburgess/fizz-buzz/blob/master/example