Skip to content

NIT-Administrative-Systems/dynamic-forms

Repository files navigation

Dynamic Forms for Laravel PHPUnit Tests Coverage Status Latest Stable Version Total Downloads

User-defined forms are a perennial problem for developers.

Dynamic Forms for Laravel gives you an easy solution: a drag-and-drop builder, an easy way to display the forms, and back-end validation.

builder_demo.mp4

How does this work?

The front-end is powered by the open source Form.io JavaScript library. This is an awesome library: the builder is user-friendly, you can adjust what's offered, and add your own custom form fields.

On the backend, it's as simple as calling $request->validateDynamicForm(). It behaves just like the validate method you're used to in Laravel.

You do not need to use the Form.io SaaS platform. Your Laravel application is filling that role.

Getting Started

composer require northwestern-sysdev/dynamic-forms
php artisan dynamic-forms:install
npm install
npm run build

Further information about usage can be found in the docs.

Contributing

If you'd like to contribute to the library, you are welcome to submit a pull request!

There is a roadmap under the projects tab, so if you're looking for ideas, those issues are a great place to start.