laravel-dbml-tools maintained by bigbyte-pl
laravel-dmbl-tools
DBML tools for Laravel framework
Installation
Require this package with composer using the following command:
composer require --dev bigbyte-pl/laravel-dbml-tools
This package makes use of Laravels package auto-discovery mechanism, which means if you don't install dev dependencies in production, it also won't be loaded.
If for some reason you want manually control this:
- add the package to the
extra.laravel.dont-discoverkey incomposer.json, e.g."extra": { "laravel": { "dont-discover": [ "bigbyte-pl/laravel-dbml-tools", ] } } - Add the following class to the
providersarray inconfig/app.php:
If you want to manually load it only in non-production environments, instead you can add this to yourBigbytePl\LaravelDbmlTools\DbmlToolsServiceProvider::class,AppServiceProviderwith theregister()method:public function register() { if ($this->app->environment() !== 'production') { $this->app->register(\BigbytePl\LaravelDbmlTools\DbmlToolsServiceProvider::class); } // ... }
Note: Avoid caching the configuration in your development environment, it may cause issues after installing this package; respectively clear the cache beforehand via
php artisan cache:clearif you encounter problems when running the commands