Skip to content

Please find several examples of playable design patterns I already used

Notifications You must be signed in to change notification settings

joffreyverd/design-patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

design-patterns

Please find several examples of playable design patterns I already used.

Installation

  1. install PHP & composer
sudo apt install php -y && sudo apt install composer -y
  1. dumps the autoloader
composer dump-autoload -o

Commands

php index.php # get the list of testable patterns
php index.php pattern # execute a specific pattern

Create a new pattern

  1. Add to App\DesignPattern::LIST the new pattern name,
  2. Create the associated controller into Controller,
  3. Create the associated directory into App,
  4. Play with it!

About

Please find several examples of playable design patterns I already used

Topics

Resources

Stars

Watchers

Forks

Languages