├── .github ├── dependabot.yml └── workflows │ └── php.yml ├── .gitignore ├── CHANGELOG.md ├── CREDITS ├── Dockerfile ├── LICENSE ├── README.md ├── bin └── php-class-diagram ├── compose.yaml ├── composer.json ├── docs ├── hyper-media.html └── images │ ├── dogfood-model.png │ ├── dogfood-package.png │ ├── dogfood.svg │ ├── output-division.png │ ├── output-package-dep-loop.png │ ├── output-package.png │ └── output.png ├── php.ini ├── phpstan.neon ├── phpunit.xml ├── social-media-preview.png ├── social-media-preview.xcf ├── src ├── Config │ └── Options.php ├── DiagramElement │ ├── Arrow.php │ ├── ArrowDependency.php │ ├── ArrowInheritance.php │ ├── ClassIdentifier.php │ ├── Division │ │ └── DivisionColor.php │ ├── Entry.php │ ├── ExternalPackage │ │ └── PackageHierarchy.php │ ├── Package.php │ ├── PackageArrow.php │ ├── PackageRelations.php │ ├── Relation.php │ └── RelationsFilter.php ├── Main.php └── Php │ ├── Doc │ └── PhpDocComment.php │ ├── Finders │ ├── FindConstructerProperties.php │ └── FindUsePhpTypes.php │ ├── PhpAccessModifier.php │ ├── PhpClass.php │ ├── PhpEnumCase.php │ ├── PhpMethod.php │ ├── PhpMethodParameter.php │ ├── PhpProperty.php │ ├── PhpReader.php │ ├── PhpType.php │ └── PhpTypeExpression.php ├── test ├── AsymmetricVisibilityTest.php ├── ClassDiagramClassNameSummaryTest.php ├── DiagramElement │ └── ClassIdentifierTest.php ├── FindUsePhpTypesTest.php ├── HidePrivateTest.php ├── OptionsTest.php ├── PackageHierarchyTest.php ├── PackageSvgLinkTest.php ├── PackageTest.php ├── PhpDocCommentTest.php ├── PhpReflectionTest.php ├── PhpTypeExpressionTest.php ├── PhpTypeTest.php ├── PropertyHooksTest.php ├── RelationTest.php ├── RelationsFilterTest.php └── fixtures │ ├── array-expression-in-doc │ └── product │ │ ├── Product.php │ │ └── Tag.php │ ├── asymmetric-visibility │ └── AsymmetricVisibility.php │ ├── classes │ └── product │ │ └── Product.php │ ├── classname-summary │ └── product │ │ ├── Name.php │ │ ├── Price.php │ │ └── Product.php │ ├── dependency-loops │ └── product │ │ ├── Product.php │ │ ├── attribute │ │ ├── Name.php │ │ └── Price.php │ │ └── config │ │ └── Config.php │ ├── enum │ ├── Sub │ │ └── Status.php │ └── TestEnum.php │ ├── extends │ └── product │ │ ├── Implements_.php │ │ ├── Interface_.php │ │ ├── Sub.php │ │ └── Super.php │ ├── hide-private │ └── product │ │ └── Product.php │ ├── interface │ └── product │ │ ├── Implement_.php │ │ └── Interface_.php │ ├── namespace-tag │ └── product │ │ ├── Exception.php │ │ ├── Name.php │ │ ├── Price.php │ │ ├── Product.php │ │ ├── SubTag.php │ │ └── Tag.php │ ├── namespace │ └── product │ │ ├── Exception.php │ │ ├── Main.php │ │ ├── Name.php │ │ ├── Price.php │ │ └── Product.php │ ├── no-namespace │ └── product │ │ ├── Name.php │ │ ├── Price.php │ │ └── Product.php │ ├── nullable │ └── product │ │ ├── Product.php │ │ └── ProductWithoutNamespace.php │ ├── output-images │ ├── classes-package.png │ ├── classes.png │ ├── classname-summary-package.png │ ├── classname-summary.png │ ├── dependency-loops-package.png │ ├── dependency-loops.png │ ├── enum-package.png │ ├── enum.png │ ├── extends-package.png │ ├── extends.png │ ├── interface-package.png │ ├── interface.png │ ├── namespace-package.png │ ├── namespace-tag-package.png │ ├── namespace-tag.png │ ├── namespace.png │ ├── no-namespace-package.png │ ├── no-namespace.png │ ├── nullable-package.png │ ├── nullable.png │ ├── output-images-package.png │ ├── output-images.png │ ├── php8-package.png │ ├── php8.png │ ├── phpdoc-package.png │ ├── phpdoc.png │ ├── sub-namespace-package.png │ ├── sub-namespace.png │ ├── trait-package.png │ ├── trait.png │ ├── uses-package.png │ └── uses.png │ ├── paths-with-hyphens │ └── product-with-hyphens │ │ ├── Name.php │ │ ├── Price.php │ │ └── Product.php │ ├── php8 │ └── product │ │ ├── Exception.php │ │ ├── Name.php │ │ ├── Price.php │ │ ├── Product.php │ │ └── bar │ │ └── Boo.php │ ├── phpdoc │ └── product │ │ ├── Name.php │ │ ├── Price.php │ │ ├── Product.php │ │ └── Tag.php │ ├── property-hooks │ └── SimpleHooks.php │ ├── sub-namespace │ └── product │ │ ├── Exception.php │ │ ├── Price.php │ │ ├── Product.php │ │ └── utility │ │ └── Name.php │ ├── trait │ └── TestTrait.php │ ├── update-images.sh │ └── uses │ └── product │ ├── Product.php │ └── ProductWithoutNamespace.php └── update-dogfood-images.sh /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/php.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/.github/workflows/php.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CREDITS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/CREDITS -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/README.md -------------------------------------------------------------------------------- /bin/php-class-diagram: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/bin/php-class-diagram -------------------------------------------------------------------------------- /compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/compose.yaml -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/composer.json -------------------------------------------------------------------------------- /docs/hyper-media.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/docs/hyper-media.html -------------------------------------------------------------------------------- /docs/images/dogfood-model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/docs/images/dogfood-model.png -------------------------------------------------------------------------------- /docs/images/dogfood-package.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/docs/images/dogfood-package.png -------------------------------------------------------------------------------- /docs/images/dogfood.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/docs/images/dogfood.svg -------------------------------------------------------------------------------- /docs/images/output-division.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/docs/images/output-division.png -------------------------------------------------------------------------------- /docs/images/output-package-dep-loop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/docs/images/output-package-dep-loop.png -------------------------------------------------------------------------------- /docs/images/output-package.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/docs/images/output-package.png -------------------------------------------------------------------------------- /docs/images/output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/docs/images/output.png -------------------------------------------------------------------------------- /php.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/php.ini -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- 1 | parameters: 2 | level: 7 3 | paths: 4 | - src 5 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/phpunit.xml -------------------------------------------------------------------------------- /social-media-preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/social-media-preview.png -------------------------------------------------------------------------------- /social-media-preview.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/social-media-preview.xcf -------------------------------------------------------------------------------- /src/Config/Options.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/Config/Options.php -------------------------------------------------------------------------------- /src/DiagramElement/Arrow.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/DiagramElement/Arrow.php -------------------------------------------------------------------------------- /src/DiagramElement/ArrowDependency.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/DiagramElement/ArrowDependency.php -------------------------------------------------------------------------------- /src/DiagramElement/ArrowInheritance.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/DiagramElement/ArrowInheritance.php -------------------------------------------------------------------------------- /src/DiagramElement/ClassIdentifier.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/DiagramElement/ClassIdentifier.php -------------------------------------------------------------------------------- /src/DiagramElement/Division/DivisionColor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/DiagramElement/Division/DivisionColor.php -------------------------------------------------------------------------------- /src/DiagramElement/Entry.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/DiagramElement/Entry.php -------------------------------------------------------------------------------- /src/DiagramElement/ExternalPackage/PackageHierarchy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/DiagramElement/ExternalPackage/PackageHierarchy.php -------------------------------------------------------------------------------- /src/DiagramElement/Package.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/DiagramElement/Package.php -------------------------------------------------------------------------------- /src/DiagramElement/PackageArrow.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/DiagramElement/PackageArrow.php -------------------------------------------------------------------------------- /src/DiagramElement/PackageRelations.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/DiagramElement/PackageRelations.php -------------------------------------------------------------------------------- /src/DiagramElement/Relation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/DiagramElement/Relation.php -------------------------------------------------------------------------------- /src/DiagramElement/RelationsFilter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/DiagramElement/RelationsFilter.php -------------------------------------------------------------------------------- /src/Main.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/Main.php -------------------------------------------------------------------------------- /src/Php/Doc/PhpDocComment.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/Php/Doc/PhpDocComment.php -------------------------------------------------------------------------------- /src/Php/Finders/FindConstructerProperties.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/Php/Finders/FindConstructerProperties.php -------------------------------------------------------------------------------- /src/Php/Finders/FindUsePhpTypes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/Php/Finders/FindUsePhpTypes.php -------------------------------------------------------------------------------- /src/Php/PhpAccessModifier.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/Php/PhpAccessModifier.php -------------------------------------------------------------------------------- /src/Php/PhpClass.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/Php/PhpClass.php -------------------------------------------------------------------------------- /src/Php/PhpEnumCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/Php/PhpEnumCase.php -------------------------------------------------------------------------------- /src/Php/PhpMethod.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/Php/PhpMethod.php -------------------------------------------------------------------------------- /src/Php/PhpMethodParameter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/Php/PhpMethodParameter.php -------------------------------------------------------------------------------- /src/Php/PhpProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/Php/PhpProperty.php -------------------------------------------------------------------------------- /src/Php/PhpReader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/Php/PhpReader.php -------------------------------------------------------------------------------- /src/Php/PhpType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/Php/PhpType.php -------------------------------------------------------------------------------- /src/Php/PhpTypeExpression.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/src/Php/PhpTypeExpression.php -------------------------------------------------------------------------------- /test/AsymmetricVisibilityTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/AsymmetricVisibilityTest.php -------------------------------------------------------------------------------- /test/ClassDiagramClassNameSummaryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/ClassDiagramClassNameSummaryTest.php -------------------------------------------------------------------------------- /test/DiagramElement/ClassIdentifierTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/DiagramElement/ClassIdentifierTest.php -------------------------------------------------------------------------------- /test/FindUsePhpTypesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/FindUsePhpTypesTest.php -------------------------------------------------------------------------------- /test/HidePrivateTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/HidePrivateTest.php -------------------------------------------------------------------------------- /test/OptionsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/OptionsTest.php -------------------------------------------------------------------------------- /test/PackageHierarchyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/PackageHierarchyTest.php -------------------------------------------------------------------------------- /test/PackageSvgLinkTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/PackageSvgLinkTest.php -------------------------------------------------------------------------------- /test/PackageTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/PackageTest.php -------------------------------------------------------------------------------- /test/PhpDocCommentTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/PhpDocCommentTest.php -------------------------------------------------------------------------------- /test/PhpReflectionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/PhpReflectionTest.php -------------------------------------------------------------------------------- /test/PhpTypeExpressionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/PhpTypeExpressionTest.php -------------------------------------------------------------------------------- /test/PhpTypeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/PhpTypeTest.php -------------------------------------------------------------------------------- /test/PropertyHooksTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/PropertyHooksTest.php -------------------------------------------------------------------------------- /test/RelationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/RelationTest.php -------------------------------------------------------------------------------- /test/RelationsFilterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/RelationsFilterTest.php -------------------------------------------------------------------------------- /test/fixtures/array-expression-in-doc/product/Product.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/array-expression-in-doc/product/Product.php -------------------------------------------------------------------------------- /test/fixtures/array-expression-in-doc/product/Tag.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/array-expression-in-doc/product/Tag.php -------------------------------------------------------------------------------- /test/fixtures/asymmetric-visibility/AsymmetricVisibility.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/asymmetric-visibility/AsymmetricVisibility.php -------------------------------------------------------------------------------- /test/fixtures/classes/product/Product.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/classes/product/Product.php -------------------------------------------------------------------------------- /test/fixtures/classname-summary/product/Name.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/classname-summary/product/Name.php -------------------------------------------------------------------------------- /test/fixtures/classname-summary/product/Price.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/classname-summary/product/Price.php -------------------------------------------------------------------------------- /test/fixtures/classname-summary/product/Product.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/classname-summary/product/Product.php -------------------------------------------------------------------------------- /test/fixtures/dependency-loops/product/Product.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/dependency-loops/product/Product.php -------------------------------------------------------------------------------- /test/fixtures/dependency-loops/product/attribute/Name.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/dependency-loops/product/attribute/Name.php -------------------------------------------------------------------------------- /test/fixtures/dependency-loops/product/attribute/Price.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/dependency-loops/product/attribute/Price.php -------------------------------------------------------------------------------- /test/fixtures/dependency-loops/product/config/Config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/dependency-loops/product/config/Config.php -------------------------------------------------------------------------------- /test/fixtures/enum/Sub/Status.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/enum/Sub/Status.php -------------------------------------------------------------------------------- /test/fixtures/enum/TestEnum.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/enum/TestEnum.php -------------------------------------------------------------------------------- /test/fixtures/extends/product/Implements_.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/extends/product/Implements_.php -------------------------------------------------------------------------------- /test/fixtures/extends/product/Interface_.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/extends/product/Interface_.php -------------------------------------------------------------------------------- /test/fixtures/extends/product/Sub.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smeghead/php-class-diagram/HEAD/test/fixtures/extends/product/Sub.php -------------------------------------------------------------------------------- /test/fixtures/extends/product/Super.php: -------------------------------------------------------------------------------- 1 |