mya-zaki/laravel-schemaspy-meta

Generates xml to modify input that will affect output from SchemaSpy.

v3.0.0 2021-02-02 05:03 UTC

This package is auto-updated.

Last update: 2024-04-29 03:57:38 UTC


README

Requires

install php_ast
https://github.com/nikic/php-ast#installation

Installation

composer require --dev mya-zaki/laravel-schemaspy-meta

Generate XML

php artisan schemaspy-meta:generate

arguments

namespace: string | App
The namespace of Eloquent Models. e.g. App\\Models, 'App\Models'

options

--xmlFile: string | schemaspy-meta.xml Output path of schema xml.

--excludeClass: array (optional) The specified classes are ignored.

e.g.
--excludeClass Foo --excludeClass Bar

Configration

Run the command

php artisan vendor:publish

Select Provider: Provider: MyaZaki\LaravelSchemaspyMeta\SchemaspyMetaServiceProvider

The file schemaspymeta.php will then be copied to _app/config.

Exclude subclasses that inherit the specified superclasses.

References