diff --git a/composer.json b/composer.json index 52d5625ea..32268a1a8 100644 --- a/composer.json +++ b/composer.json @@ -32,6 +32,7 @@ "wpb/string-blade-compiler": "2.*@dev" }, "require-dev": { + "beyondcode/laravel-er-diagram-generator": "^1.4", "filp/whoops": "~2.0", "fzaninotto/faker": "~1.4", "laravel/browser-kit-testing": "^4.0", diff --git a/composer.lock b/composer.lock index 4d2d4efe0..809446d65 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ca289d12d15a962ea6fab4df8f463938", + "content-hash": "fc33083c81b6d64acfe4197bd49bfedc", "packages": [ { "name": "andreasindal/laravel-markdown", @@ -4545,6 +4545,65 @@ } ], "packages-dev": [ + { + "name": "beyondcode/laravel-er-diagram-generator", + "version": "1.4.0", + "source": { + "type": "git", + "url": "https://github.com/beyondcode/laravel-er-diagram-generator.git", + "reference": "b4819e583f125af138ce421c5652610fb5ae8167" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/beyondcode/laravel-er-diagram-generator/zipball/b4819e583f125af138ce421c5652610fb5ae8167", + "reference": "b4819e583f125af138ce421c5652610fb5ae8167", + "shasum": "" + }, + "require": { + "doctrine/dbal": "~2.3", + "nikic/php-parser": "^2.0|^3.0|^4.0", + "php": "^7.1", + "phpdocumentor/graphviz": "^1.0" + }, + "require-dev": { + "larapack/dd": "^1.0", + "orchestra/testbench": "~3.5|~3.6|~3.7|~3.8|^4.0", + "phpunit/phpunit": "^7.0| ^8.0", + "spatie/phpunit-snapshot-assertions": "^1.3" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "BeyondCode\\ErdGenerator\\ErdGeneratorServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "BeyondCode\\ErdGenerator\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marcel Pociot", + "email": "marcel@beyondco.de", + "homepage": "https://beyondcode.de", + "role": "Developer" + } + ], + "description": "Generate ER diagrams from your Laravel models.", + "homepage": "https://github.com/beyondcode/laravel-er-diagram-generator", + "keywords": [ + "beyondcode", + "laravel-er-diagram-generator" + ], + "time": "2019-10-14T06:52:29+00:00" + }, { "name": "doctrine/instantiator", "version": "1.2.0", @@ -5210,6 +5269,47 @@ "description": "Library for handling version information and constraints", "time": "2018-07-08T19:19:57+00:00" }, + { + "name": "phpdocumentor/graphviz", + "version": "1.0.4", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/GraphViz.git", + "reference": "a906a90a9f230535f25ea31caf81b2323956283f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/GraphViz/zipball/a906a90a9f230535f25ea31caf81b2323956283f", + "reference": "a906a90a9f230535f25ea31caf81b2323956283f", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "autoload": { + "psr-0": { + "phpDocumentor": [ + "src/", + "tests/unit" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "mike.vanriel@naenius.com" + } + ], + "time": "2016-02-02T13:00:08+00:00" + }, { "name": "phpdocumentor/reflection-common", "version": "1.0.1", diff --git a/graph.png b/graph.png new file mode 100644 index 000000000..369681a31 Binary files /dev/null and b/graph.png differ