Skip to content

Halleck45/DesignPatternDetector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pattern Detector for PHP

Detects design pattern in your code

License Build Status

## Installation

git clone https://github.com/Halleck45/DesignPatternDetector.git
cd DesignPatternDetector
composer install

## Usage

./bin/design-pattern <source-directory>

You'll get something like:

screenshot

## Why ?

Just for fun. This tool is only a proof of concept. But contributions are welcome :)

## Detected patterns

Today this tool is able to detect following patterns :

  • Micro
    • Structure
  • Structural
    • Bridge
    • Decorator
    • Proxy
  • Creational
    • Singleton
    • Abstract Factory
  • Behavior
  • Anti-patterns
    • GodObject / Blob

## License

See LICENSE file

About

detection of design patterns in PHP code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published