2017 © Pedro Peláez
 

library laravel-schema-summary

Creates a summary file of all migrations

image

schickling/laravel-schema-summary

Creates a summary file of all migrations

  • Thursday, May 15, 2014
  • by schickling
  • Repository
  • 2 Watchers
  • 2 Stars
  • 15 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 7 % Grown

The README.md

laravel-schema-summary

Creates a summary file of all migrations. This package is inspired by the schema.rb file of Active Record Migrations., (*1)

Installation

  1. Add the following to your composer.json and run composer update, (*2)

    {
        "require": {
            "schickling/laravel-schema-summary": "dev-master"
        }
    }
    
  2. Add Schickling\SchemaSummary\SchemaSummaryServiceProvider to your config/app.php, (*3)

Usage

The following command creates a Schema.md file in your app/database directory which contains a summary of all migrations. This summary can be understood as one big migration for documentation purposes., (*4)

$ php artisan migrate:schema

Example Output

users

Field Type Length Unsigned Default
id INT 10 yes
name VARCHAR 128 (default)

photos

Field Type Length Unsigned Default
id INT 10 yes
user_id INT 10 yes 0
url VARCHAR 128 (default)

The Versions

15/05 2014

dev-master

9999999-dev

Creates a summary file of all migrations

  Sources   Download

MIT

The Development Requires

by Johannes Schickling