Skip to content

VedianSOFTWARE/DynamicForms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

- Warning: README is not up to date yet.

Laravel dynamic forms

Laravel dynamic forms is a package used to generate forms based on model input. It is just a trait which adds some features to models for extracting data from the database.

Installation

(Recommended): publish config for editing (necessary for custom datatypes)

php artisan vendor:publish --tag=dynamic-forms/config

(Optional): publish view for editing

php artisan vendor:publish --tag=dynamic-forms/view

(Optional): publish all files

php artisan vendor:publish --tag=dynamic-forms/all

Usage

Add form to views

Use the following command within the bladetemplate where you want to display the form

@include("dynamicforms::form")

Or pass it through a variable

$form = view("dynamicform::forms", $form)->render();

compact('form');

License

MIT

About

Laravel dynamic form generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors