File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 4545
4646 - name : Run PHPStan
4747 run : composer phpstan
48+
49+ - create-class-diagram :
50+ runs-on : ubuntu-latest
51+ name : Create class diagram
52+ steps :
53+ - name : Checkout
54+ uses : actions/checkout@v4
55+
56+ - name : Create class diagram
57+ id : create-class-diagram
58+ uses : smeghead/php-class-diagram-gh-action@v0
59+ with :
60+ target-path : src/DiagramElement
61+ output-path : php-class-diagram.png
62+
63+ - name : Upload Artifact
64+ uses : actions/upload-artifact@v4
65+ with :
66+ name : Class_Diagram
67+ path : php-class-diagram.png
68+ retention-days : 5
Original file line number Diff line number Diff line change @@ -281,6 +281,13 @@ $ bin/php-class-diagram --division-diagram test/fixtures/enum/
281281
282282![ PlantUML output image.] ( doc/images/output-division.png )
283283
284+ ## Github Actions support
285+
286+ The following repository provides actions for generating class diagrams using php-class-diagram in Github Actions workflows.
287+
288+ [ smeghead/php-class-diagram-gh-action] ( https://github.com/smeghead/php-class-diagram-gh-action )
289+
290+
284291## Development
285292
286293### Open shell
You can’t perform that action at this time.
0 commit comments