LaravelPackages.net
Acme Inc.
Toggle sidebar
ajthinking/the-missing-schema

A schema.json file

7
0
v0.0.4
About ajthinking/the-missing-schema

ajthinking/the-missing-schema is a Laravel package for a schema.json file. It currently has 0 GitHub stars and 7 downloads on Packagist (latest version v0.0.4). Install it with composer require ajthinking/the-missing-schema. Discover more Laravel packages by ajthinking or browse all Laravel packages to compare alternatives.

Last updated

The missing schema file for Laravel :wrench:

Sometimes we just want to see/use a list of all models and their columns

Installation

composer require ajthinking/the-missing-schema

Usage

<?php

use TheMissingSchema\Schema;

Schema::save();

Now, you can see a file schema.json in your database folder. At the moment it does not do anything, and it does not affect your migrations whatsoever.

{
    "users": [
        {
            "columnName": "name",
            ...
        },
        ...
    ],
    ...
}

Supported drivers

  • sqlite

Star History Chart