Download the PHP package mherrera05/data-dictionary without Composer
On this page you can find all versions of the php package mherrera05/data-dictionary. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mherrera05/data-dictionary
More information about mherrera05/data-dictionary
Files in mherrera05/data-dictionary
Package data-dictionary
Short Description Bundle to expose database composition as data dictionary.
License MIT
Informations about the package data-dictionary
Introduction
Data Dictionary is a Symfony Bundle that offers database composition of project rendered as HTML format, making it easy for developers to read field name, data type and comments.
Requirements
- PHP
5.3 or higher
- Symfony
2.x or 3.x
- Doctrine Symfony Bundle
~1.4
- Doctrine ORM
^2.4.8
- Twig
^1.0||^2.0
Installation & Usage
This is a Symfony Bundle with dependency on Doctrine, you can install it via composer.
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php
file of your project:
Step 3: Import resources from Bundle
Import bundle resources adding resources in routing.yml
.
If you prefer, you can add a prefix for URL.
Step 4: Add vendor templates
Add vendor templates directory as path in twig configuration config.yml
.
Usage
Step 1: Import model to json files
Once installed and enabled the Bundle, you can execute the command:
This command will export database tables and fields composition to .json
files.
Use the name of bundle where you want to put the json files. Example, Doctrine creates orm.yml
from database on your base bundle.
Step 2: Call URL
Once files have been imported, just call the URL on web browser.
Maintainer
Miguel Herrera https://github.com/mherrera05/
All versions of data-dictionary with dependencies
doctrine/doctrine-bundle Version ~1.4
doctrine/orm Version ^2.4.8
twig/twig Version ^1.0||^2.0