Download the PHP package bauerdot/laravel-dbml without Composer

On this page you can find all versions of the php package bauerdot/laravel-dbml. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-dbml

CURRENTLY PUBLISHED AS TEST PACKAGE!

Laravel DBML

Total Downloads

Install

composer require bauerdot/laravel-dbml

Usage

Available Options

Table Filtering and Ignore Presets

System Tables

By default, Laravel system tables are ignored. You can include them with the --include-system flag:

Ignore Presets

The package comes with predefined groups of tables (presets) that can be ignored:

You can specify which presets to use:

Include All Tables

If you want to include all tables with no filtering, use the --no-ignore flag:

Configuration File

You can specify a custom configuration file with the --config option:

The config file can be in JSON, PHP, or YAML format and supports the following options:

Available Configuration Options

Option Type Default Description
ignore_by_default boolean true Whether to ignore tables by default
ignore_presets array system, spatie-permissions, telescope Predefined groups of tables to ignore
active_presets array ['system'] Presets that are active by default
ignored_tables array [] Additional tables to always ignore
document_casts boolean true Whether to document Laravel cast attributes
document_cast_types array json, array, etc. Which cast types to document
document_spatie_data boolean true Whether to document Spatie Data objects
inline_schema boolean true Put schema in column-level notes instead of table notes
spatie_data_namespace string App\ValueObjects Namespace for your Spatie Data objects
only_tables array [] Only process these tables (supports wildcards)
models_dir string app/Models Directory where your Laravel models are located

Publishing the Configuration

You can publish the package configuration file with:

Parsing Specific Tables Only

You can use the --only option to specify which tables should be included in the DBML output:

Column-Level Schema Documentation

This package adds schema information directly to column definitions, making it easier to understand complex data structures:

Laravel Model Cast Documentation

This package can automatically detect Laravel model cast attributes and document their structure in the DBML output. This is especially useful for JSON columns where the structure is defined in the model.

To document the JSON structure in your models, add a @json-structure tag to your property or accessor method:

Spatie Data Object Support

The package can analyze Spatie Data objects used in Laravel model casts and document their structure. For example, with a model like this:

And a Spatie Data object like this:

The DBML output will include the structure:

Customizable Type

Credits

Security

If you discover any security-related issues, please open an issue or pull request.

License

The MIT License (MIT). Please see License File for more information.

For developers

and then run


All versions of laravel-dbml with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.37|^11.0|^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bauerdot/laravel-dbml contains the following files

Loading the files please wait ....