Skip to content

Air-Petr/php-turnstile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Turnstile

Funny PHP implementation of a Monostate pattern. An adopted example from Robert Martin's "Agile Software Development, Principles, Patterns, and Practices" book.

Installation

composer require air-petr/php-turnstile

Demo

You can play with code in demo folder. Here's how you can run interactive game:

php demo/example.php

Testing

There are some unit tests in test folder. Run tests by:

composer test

About

Funny PHP implementation of turnstile

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages