An open API service indexing awesome lists of open source software.

https://github.com/smeghead/docker-php-class-diagram


https://github.com/smeghead/docker-php-class-diagram

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

![Project Logo](https://repository-images.githubusercontent.com/423499730/0321af95-b8bf-478a-943a-f68ac02e475f)

# 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
```