Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/halleck45/designpatterndetector
detection of design patterns in PHP code
https://github.com/halleck45/designpatterndetector
Last synced: about 2 months ago
JSON representation
detection of design patterns in PHP code
- Host: GitHub
- URL: https://github.com/halleck45/designpatterndetector
- Owner: Halleck45
- License: mit
- Created: 2015-12-08T12:15:49.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-18T15:12:34.000Z (8 months ago)
- Last Synced: 2024-10-31T17:51:56.890Z (about 2 months ago)
- Language: PHP
- Size: 61.5 KB
- Stars: 114
- Watchers: 7
- Forks: 14
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pattern Detector for PHP
Detects design pattern in your code
[![License](https://poser.pugx.org/halleck45/php-metrics/license.svg)](https://packagist.org/packages/halleck45/design-pattern-detector)
[![Build Status](https://secure.travis-ci.org/Halleck45/DesignPatternDetector.svg)](http://travis-ci.org/Halleck45/DesignPatternDetector)## Installation
git clone https://github.com/Halleck45/DesignPatternDetector.git
cd DesignPatternDetector
composer install## Usage
./bin/design-pattern
You'll get something like:
![screenshot](./doc/capture1.png)
## 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