Skip to content

AlexisFlach/php-dp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Design Patterns in PHP

This is a collection of design patterns in PHP. The goal is to provide a collection of patterns that are easy to understand and easy to use.

Snippets

Composer

composer require ramsey/uuid

composer.json

{
  "require": {
    "ramsey/uuid": "^4.7"
  },
  "autoload": {
    "psr-4": {
      "App\\": "app/"
    }
  }
}

for development

composer dump-autoload

for production

composer dump-autoload -o
PHP UNIT
composer require --dev phpunit/phpunit

./vendor/bin/phpunit tests

-or-

./vendor/bin/phpunit App/Behavioral/Strategy/tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published