Doctrine Extra Bundle

Graph features for Doctrine
Alternatives To Doctrine Extra Bundle
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Schema Org1,1603527a month ago51April 11, 20221mitPHP
A fluent builder Schema.org types and ld+json generator
Graphql Birdseye671
2a year ago44September 06, 201924mitTypeScript
View any GraphQL schema as a dynamic and interactive graph. 🦅
Structurae48226 months ago75July 11, 20225mitTypeScript
Data structures for high-performance JavaScript applications.
Codepropertygraph3681515 hours ago686March 24, 202231apache-2.0Scala
Code Property Graph: specification, query language, and utilities
Json Graph Specification329
2 years ago1July 08, 20152otherPython
A proposal for representing graph structure (nodes / edges) in JSON.
Django Schema Graph312
4 months ago9March 01, 202013mitPython
An interactive graph of your Django model structure
Hgraphdb250
1a day ago52May 17, 20217apache-2.0Java
HBase as a TinkerPop Graph Database
Apollo Studio Community227
11 days ago62
🎡  GraphQL developer portal featuring an IDE (Apollo Explorer), auto-documentation, metrics reporting, and more. This repo is for issues, feature requests, and preview docs. 📬
Intune Powershell Sdk216
4 months ago85mitC#
Native PowerShell support for invoking Microsoft Intune Graph API to enable IT Pro scenario automation.
Tensorfx190
6 years ago1March 08, 201713apache-2.0Python
TensorFlow framework for training and serving machine learning models
Alternatives To Doctrine Extra Bundle
Select To Compare


Alternative Project Comparisons
Readme

DoctrineExtraBundle

Build status Latest Stable Version Total Downloads License Monthly Downloads Daily Downloads

Graph tool for Doctrine. Relies on Graphviz.

Demo

Installation

Install the latest version with

composer require --dev alexandresalome/doctrine-extra-bundle

Then, enable the bundle by adding the following line in the app/AppKernel.php file of your project:

// app/AppKernel.php

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        //...
        if (in_array($this->getEnvironment(), ['dev', 'test'])) {
            // ...
            // Because the vendor code could be not present, you should check if the bundle is here before using it.
            $bundles[] = new Alex\DoctrineExtraBundle\AlexDoctrineExtraBundle();
        }


        // ...
    }

    // ...
}

Usage

Dump entity manager schema as graph

php app/console doctrine:mapping:graphviz

If you want to create a PDF file out of it, with Linux:

.. code-block:: bash

php app/console doctrine:mapping:graphviz | dot -Tpdf -oout.pdf
xdg-open out.pdf

Development

Generate sample graphs

A set of sample entities are available to test internally the schema generations. You can generate the graph for any of the samples (located in Tests/Fixtures) by running:

./Resources/bin/graph Simple | dot -Tpdf -oout.pdf
xdg-open out.pdf
Popular Graph Projects
Popular Schema Projects
Popular Computer Science Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Php
Graph
Schema
Doctrine Orm
Graphviz
Fixtures