install php_ast
https://github.com/nikic/php-ast#installation
composer require --dev mya-zaki/laravel-schemaspy-meta
php artisan schemaspy-meta:generate
namespace
: string
| App
The namespace of Eloquent Models. e.g. App\\Models, 'App\Models'
--xmlFile
: string
| schemaspy-meta.xml
Output path of schema xml.
--excludeClass
: array
(optional)
The specified classes are ignored.
e.g.
--excludeClass Foo --excludeClass Bar
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.