appoly/smart-schema-2

There is no license information available for the latest version (1.0.1) of this package.

A package to auto generate forms

Installs: 2 055

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/appoly/smart-schema-2

1.0.1 2020-02-11 11:35 UTC

This package is auto-updated.

Last update: 2025-09-29 02:21:47 UTC


README

Smart Schema v2 is a package that generates forms using vue js!

This package helps to generate the schema in laravel

Installation

composer require appoly/smart-schema-2
npm i @appoly/smartschema-vue --save

View the VueJS package here https://github.com/appoly/smartschema-vue

Command

php artisan smartschema:generate

This will read your database tables and generate constants files with the schema required for the Vue package. This will give you a quick and easy start and can be modified in anyway

NOTE: running the command again will overwrite any changes

Usage

public function index()
{
    $schema = json_encode(UserSchema::SCHEMA);

    return view('home', compact('schema'));
}