πŸ“ Symfony Bundle to generate database diagrams

Overview

Doctrine Diagram Bundle

πŸ“ Symfony Bundle to generate database diagrams.

This project is still a work in progress. Please report any bug: https://github.com/jawira/doctrine-diagram-bundle/issues

Latest Stable Version Total Downloads PHP Version Require License

Usage

Run this command to generate a database diagram at the root of your project:

bin/console jawira:doctrine:diagram

diagram

How to install

composer require jawira/doctrine-diagram-bundle

Contributing

If you liked this project, ⭐ star it on GitHub.

License

This library is licensed under the MIT license.


Packages from jawira

jawira/mysql-draw GitHub stars
Standalone tool to generate MySQL database diagrams.
jawira/db-draw GitHub stars
Library to generate database diagrams.
jawira/plantuml GitHub stars
Provides PlantUML executable and plantuml.jar
more...
Comments
  • Allowing setting up background color

    Allowing setting up background color

    This tool comes in handy in turns with bin/console make:entity to check visually for Doctrine's schema changes. Thank you

    For the SVG export it would be nice to have a white background instead of a transparent one. This could be a new command line option providing a CSS or hex color eg. --bgcolor

    opened by myselfhimself 3
  • Avoid CRLF line endings

    Avoid CRLF line endings

    Hello it seems that the generator introduces CRLF line endings to generated .svg files. This leads to Git errors when adding a .svg file: warning: CRLF will be replaced by LF in docs/database.svg.

    opened by myselfhimself 2
  • Add an annotation to ignore

    Add an annotation to ignore

    The Symfony messenger uses the doctrine entity to store the data in the database. This table is useless in a diagram.

    messenger_messages

    doctrine_migration_versions

    opened by tebaly 0
  • The namespace

    The namespace "jaw" is ambiguous

    Symphony console allows command shortcuts. But

    $ bin/console jaw:doc
      The namespace "jaw" is ambiguous.  
      Did you mean one of these?         
          jawira                         
          jawira:doctrine.  
    

    Wrong hint. These commands do not exist.

    $ bin/console jawira
      Command "jawira" is not defined. 
    
    $ bin/console jawira:doctrine
      Command "jawira:doctrine" is not defined
    

    For example

    $ bin/console doctrine
    
     Command "doctrine" is not defined.             
                                                     
      Did you mean one of these?                     
          doctrine:cache:clear-collection-region     
          doctrine:cache:clear-entity-region         
          doctrine:cache:clear-metadata              
          doctrine:cache:clear-query                 
          doctrine:cache:clear-query-region          
          doctrine:cache:clear-result                
          doctrine:database:create                   
          doctrine:database:drop     
        < ... >
    
    opened by tebaly 0
  • Plantuml - 414 Request-URI Too Large

    Plantuml - 414 Request-URI Too Large

    Hey, we have a lot of entities in project, so when I tried to create diagram by command I got an error:

    Warning: file_get_contents(http://www.plantuml.com/plantuml/svg/{blablabla}): Failed to open stream: HTTP request failed!

    Manual result of http request: 414 Request-URI Too Large

    I know it's depends on 3rd party solutions, but maybe is any other solution?

    opened by jroszkiewicz 1
Releases(v0.3.0)
Owner
Jawira Portugal
I prefer GitLab, but most open source project are here πŸ€·β€β™‚οΈ.
Jawira Portugal
The query filter bundle allows you to filter data from QueryBuilder and the Database

The query filter bundle allows you to filter data from QueryBuilder and the Database. you can filter multiple columns at the same time and also you can filter relation fields with two-level deep and without any join in your query builder.

Milad Ghofrani 0 Apr 8, 2022
The query sorting bundle allows you to sort data from QueryBuilder and the Database

The query sorting bundle allows you to sort data from QueryBuilder and the Database. you can sort multiple columns at the same time and also you can sort relation fields with two-level deep and without any join in your query builder.

Bugloos 12 Oct 6, 2022
Laravel Migrations Generator: Automatically generate your migrations from an existing database schema.

Laravel Migrations Generator Generate Laravel Migrations from an existing database, including indexes and foreign keys! Upgrading to Laravel 5.4 Pleas

Bernhard Breytenbach 3.3k Dec 30, 2022
Pure PHP NoSQL database with no dependency. Flat file, JSON based document database.

Please give it a Star if you like the project ?? ❀️ SleekDB - A NoSQL Database made using PHP Full documentation: https://sleekdb.github.io/ SleekDB i

Kazi Mehedi Hasan 745 Jan 7, 2023
SleekwareDB is a NoSQL database storage service. A database storage service that can be used for various platforms and is easy to integrate.

SleekwareDB is a NoSQL database storage service. A database storage service that can be used for various platforms and is easy to integrate. NoSQL API

SleekwareDB 12 Dec 11, 2022
Symfony 5 PHP 8 DDD CQRS Backend POC

Book Shop A POC for DDD and CQRS applications using Symfony as framework and running with php8 User Stories Come store manager voglio aggiungere/modif

Patrick Luca Fazzi 15 Sep 23, 2022
Symfony 5.2 + api platform project with ELK stack + elastic FileBeats for the log management. All running in 7 docker containers: nginx, php 8, mysql, elastic search, logstash, kibana, fileBeats.

Symfony with ELK and Elastic FileBeats Stack Prerequisites: Make sure that docker and docker-compose are installed in your machine and available for y

null 13 May 20, 2022
Provides integration for Doctrine with various Symfony components.

Doctrine Bridge The Doctrine bridge provides integration for Doctrine with various Symfony components. Resources Contributing Report issues and send P

Symfony 3k Dec 23, 2022
A Symfony application for managing and automating regular backups of MySQL databases.

DbSaver DbSaver is an application written by Bastien LOUGHIN allowing you to make automatic daily backups (and manual backups) for your MySQL database

Bastien 35 Nov 11, 2022
The lightweight PHP database framework to accelerate development

The lightweight PHP database framework to accelerate development Features Lightweight - Less than 100 KB, portable with only one file Easy - Extremely

Angel Lai 4.6k Dec 28, 2022
[READ ONLY] Subtree split of the Illuminate Database component (see laravel/framework)

Illuminate Database The Illuminate Database component is a full database toolkit for PHP, providing an expressive query builder, ActiveRecord style OR

The Laravel Components 2.5k Dec 27, 2022
ORM layer that creates models, config and database on the fly

RedBeanPHP 5 RedBeanPHP is an easy to use ORM tool for PHP. Automatically creates tables and columns as you go No configuration, just fire and forget

Gabor de Mooij 2.2k Jan 9, 2023
Spot v2.x DataMapper built on top of Doctrine's Database Abstraction Layer

Spot DataMapper ORM v2.0 Spot v2.x is built on the Doctrine DBAL, and targets PHP 5.4+. The aim of Spot is to be a lightweight DataMapper alternative

Spot ORM 602 Dec 27, 2022
SQL database access through PDO.

Aura.Sql Provides an extension to the native PDO along with a profiler and connection locator. Because ExtendedPdo is an extension of the native PDO,

Aura for PHP 533 Dec 30, 2022
PHP Database Migrations for Everyone

Phinx: Simple PHP Database Migrations Intro Phinx makes it ridiculously easy to manage the database migrations for your PHP app. In less than 5 minute

CakePHP 4.3k Jan 7, 2023
Database management in a single PHP file

Adminer - Database management in a single PHP file Adminer Editor - Data manipulation for end-users https://www.adminer.org/ Supports: MySQL, MariaDB

Jakub VrΓ‘na 5.5k Jan 1, 2023
Doctrine Database Abstraction Layer

Doctrine DBAL 4.0-dev 3.0 2.13 N/A N/A Powerful database abstraction layer with many features for database schema introspection, schema management and

Doctrine 8.9k Dec 28, 2022
Adjacency List’ed Closure Table database design pattern implementation for the Laravel framework.

ClosureTable This is a database manipulation package for the Laravel 5.4+ framework. You may want to use it when you need to store and operate hierarc

Yan Ivanov 441 Dec 11, 2022
A drop-in library for certain database functionality in Laravel, that allows for extra features that may never make it into the main project.

Eloquence Eloquence is a package to extend Laravel's base Eloquent models and functionality. It provides a number of utilities and classes to work wit

Kirk Bushell 470 Dec 8, 2022