schickling/laravel-schema-summary

Creates a summary file of all migrations

dev-master 2014-05-15 08:39 UTC

This package is not auto-updated.

Last update: 2024-10-26 16:41:40 UTC


README

Creates a summary file of all migrations. This package is inspired by the schema.rb file of Active Record Migrations.

Installation

  1. Add the following to your composer.json and run composer update

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

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.

$ php artisan migrate:schema

Example Output

users

photos