ajthinking/the-missing-schema

A schema.json file

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:package

pkg:composer/ajthinking/the-missing-schema

v0.0.4 2020-04-01 12:35 UTC

This package is auto-updated.

Last update: 2025-09-29 02:28:50 UTC


README

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