https://github.com/smeghead/docker-php-class-diagram
https://github.com/smeghead/docker-php-class-diagram
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/smeghead/docker-php-class-diagram
- Owner: smeghead
- License: apache-2.0
- Created: 2021-11-18T05:01:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-28T12:48:11.000Z (5 months ago)
- Last Synced: 2025-02-07T22:53:43.891Z (4 months ago)
- Language: Dockerfile
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# docker-php-class-diagram
A CLI tool that parses the PHP source directory and outputs PlantUML class diagram scripts.
## Github
https://github.com/smeghead/php-class-diagram
## dockerhub
https://hub.docker.com/r/smeghead7/php-class-diagram
## Build
```bash
$ docker build . -t php-class-diagram
```## Run
```bash
$ docker run --rm \
-v $(pwd):/usr/src \
-w /usr/src \
smeghead7/php-class-diagram bash \
-c 'php-class-diagram php-source-directory | plantuml -charset utf-8 -pipe -tpng > class-diagram.png'
```## Open Shell
```bash
$ docker run --rm -it \
-v $(pwd):/usr/src \
-w /usr/src \
smeghead7/php-class-diagram bash
```