musonza/laravel-forms

v0.1.7 2019-06-16 22:36 UTC

README

Build Status Packagist

forms list

Installation

  1. Install composer package

    composer require musonza/laravel-forms
  2. Publish Assets

    php artisan vendor:publish
  3. Add Form facade to config/app.php

    'Form' => Musonza\Form\Facades\FormFacade::class,
  4. Run migrations

    php artisan migrate
  5. Check the published file config/laravel_forms.php

    • You can enable / disable captcha
    • You can configure the path for your forms dashboard
    • You can add custom field types
  6. Access dashboard at

    http//your-url.com/laravel-forms (you can change the path in config/laravel_forms.php)

Adding a Form

adding a form

Form details

form details

Adding a Field

adding a field

Field details

field details

Sample Form Output

form output

Sample Submission

TODO

  • Multi page forms

Credits

https://github.com/laravel/telescope for some of the front-end structuring