GitHub - Halleck45/DesignPatternDetector: detection of design patterns in PHP code (original) (raw)
Navigation Menu
Appearance settings
- AI CODE CREATION
* GitHub CopilotWrite better code with AI
* GitHub SparkBuild and deploy intelligent apps
* GitHub ModelsManage and compare prompts
* MCP RegistryNewIntegrate external tools - DEVELOPER WORKFLOWS
* ActionsAutomate any workflow
* CodespacesInstant dev environments
* IssuesPlan and track work
* Code ReviewManage code changes - APPLICATION SECURITY
* GitHub Advanced SecurityFind and fix vulnerabilities
* Code securitySecure your code as you build
* Secret protectionStop leaks before they start - EXPLORE
* Why GitHub
* Documentation
* Blog
* Changelog
* Marketplace
- AI CODE CREATION
- BY COMPANY SIZE
* Enterprises
* Small and medium teams
* Startups
* Nonprofits - BY USE CASE
* App Modernization
* DevSecOps
* DevOps
* CI/CD
* View all use cases - BY INDUSTRY
* Healthcare
* Financial services
* Manufacturing
* Government
* View all industries
- BY COMPANY SIZE
- EXPLORE BY TOPIC
* AI
* Software Development
* DevOps
* Security
* View all topics - EXPLORE BY TYPE
* Customer stories
* Events & webinars
* Ebooks & reports
* Business insights
* GitHub Skills - SUPPORT & SERVICES
* Documentation
* Customer support
* Community forum
* Trust center
* Partners
- EXPLORE BY TOPIC
- COMMUNITY
* GitHub SponsorsFund open source developers - PROGRAMS
* Security Lab
* Maintainer Community
* Accelerator
* Archive Program - REPOSITORIES
* Topics
* Trending
* Collections
- COMMUNITY
- Pricing
Provide feedback
We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Halleck45 / DesignPatternDetector Public
- Notifications You must be signed in to change notification settings
- Fork13
- Star 116
detection of design patterns in PHP code
License
116 stars 13 forks Branches Tags Activity
Notifications You must be signed in to change notification settings
Additional navigation options
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
| Latest commitHistory19 Commits | |||
| .github | .github | ||
| bin | bin | ||
| doc | doc | ||
| src/Hal | src/Hal | ||
| tests | tests | ||
| .gitignore | .gitignore | ||
| .travis.yml | .travis.yml | ||
| LICENSE | LICENSE | ||
| Makefile | Makefile | ||
| README.md | README.md | ||
| composer.json | composer.json | ||
| phpunit.xml.dist | phpunit.xml.dist |
Repository files navigation
Pattern Detector for PHP
Detects design pattern in your code
## Installation
git clone https://github.com/Halleck45/DesignPatternDetector.git
cd DesignPatternDetector
composer install
## Usage
./bin/design-pattern <source-directory>
You'll get something like:
## 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
Contributing
Stars
Watchers
Forks
Releases
No releases published
Sponsor this project
Learn more about GitHub Sponsors
Packages
No packages published
