- Warning: README is not up to date yet.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.
(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/allUse the following command within the bladetemplate where you want to display the form
@include("dynamicforms::form")$form = view("dynamicform::forms", $form)->render();
compact('form');