2017 © Pedro Peláez
 

library laravel-schema-spy

Laravel artisan command that uses JAVA schemaSpy tool to generate a graphical representation of a database schema

image

stolz/laravel-schema-spy

Laravel artisan command that uses JAVA schemaSpy tool to generate a graphical representation of a database schema

  • Wednesday, October 11, 2017
  • by Stolz
  • Repository
  • 6 Watchers
  • 40 Stars
  • 8,351 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 9 % Grown

The README.md

Laravel SchemaSpy

Laravel SchemaSpy is a Laravel artisan command that acts as an interface for the program SchemaSpy. With SchemaSpy you can analyze the schema metadata of a database and generate browser readable files with useful information such:, (*1)

  • Visual ER diagram.
  • Proper table insertion/deletion order for database migrations.

SchemaSpy is much more than that so please check the official site to see the full power of the tool., (*2)

Requirements

Before installing the package make sure the following requirements are installed on your system:, (*3)

  • JAVA >=5.
  • SchemaSpy JAR file:
  • The proper JAVA connector for your database system (i.e: MySQL).
  • The dot command from Graphviz should be accessible via the PATH environment variable.

Graphviz itself is not required, only its dot command is used to generated the output., (*4)

Installation

Install via Composer, (*5)

composer require stolz/laravel-schema-spy --dev

If you are using an old version of Laravel or if you have disabled its package discovery feature, then you have to manually edit config/app.php file and register the service provider under providers key, (*6)

'providers' => array(
    ...
    Stolz\SchemaSpy\ServiceProvider::class,
    ...

Usage

php artisan db:spy [connection]

If no connection is provided Laravel's default one will be used. After successfully running the command open the file [output-dir]/index.html with your browser., (*7)

Configuration

To configure the package use the following command to copy the configuration file to config/spy.php., (*8)

php artisan vendor:publish

All available settings are included inside spy.php and with the provided comments they should be self-explanatory., (*9)

Laravel 4

If you are still using Laravel 4 instead of loading Stolz\SchemaSpy\ServiceProvider use Stolz\SchemaSpy\LegacyServiceProvider and manually copy the config file:, (*10)

cp vendor/stolz/laravel-schema-spy/src/config.php app/config/spy.php

License

MIT License © Stolz, (*11)

Read the provided LICENSE file for details., (*12)

The Versions

11/10 2017

dev-develop

dev-develop

Laravel artisan command that uses JAVA schemaSpy tool to generate a graphical representation of a database schema

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel sql schema schema-spy schemaspy er diagram

11/10 2017

dev-master

9999999-dev

Laravel artisan command that uses JAVA schemaSpy tool to generate a graphical representation of a database schema

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel sql schema schema-spy schemaspy er diagram

11/10 2017

0.1.1

0.1.1.0

Laravel artisan command that uses JAVA schemaSpy tool to generate a graphical representation of a database schema

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel sql schema schema-spy schemaspy er diagram

05/02 2015

0.1.0

0.1.0.0

Laravel artisan command that uses JAVA schemaSpy tool to generate a graphical representation of a database schema

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel sql schema schema-spy schemaspy er diagram

02/06 2014

0.0.1

0.0.1.0

Laravel artisan command that uses JAVA schemaSpy tool to generate a graphical representation of a database schema

  Sources   Download

MIT

The Requires

 

The Development Requires

database laravel sql schema schema-spy schemaspy er diagram