This Sprinkle provides a summary example on how to use the FormGenerator sprinkle for UserFrosting 4.
If you need help using this sprinkle or found any bug, feels free to open an issue or submit a pull request. You can also find me on the UserFrosting Chat most of the time for direct support.
Edit UserFrosting app/sprinkles.json
file and add the following to the require
list : "lcharette/uf_formgeneratorexample": "^4.0.0"
. Also add FormGenerator
and FormGeneratorExample
to the base
list. For example:
{
"require": {
"lcharette/uf_formgeneratorexample": "^4.0.0"
},
"base": [
"core",
"account",
"admin",
"FormGenerator",
"FormGeneratorExample"
]
}
Run composer update
then php bakery bake
to install the sprinkle.
Navigate to http://YourDomain.com/formgenerator
.
This demo is not linked to any database tables, so changes are not actually saved ;)
By Louis Charette. Copyright (c) 2020, free to use in personal and commercial software as per the MIT license.