mya-zaki / laravel-schemaspy-meta
Generates xml to modify input that will affect output from SchemaSpy.
Package info
github.com/mya-zaki/laravel-schemaspy-meta
pkg:composer/mya-zaki/laravel-schemaspy-meta
Requires
- php: ^8.0
- illuminate/console: ^8.12
- illuminate/database: ^8.12
- illuminate/support: ^8.12
Requires (Dev)
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2026-03-01 00:27:34 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.