laravel-forms

Database driven laravel forms

Downloads
47
Stars
32
Committers
3

Laravel Forms

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

Form details

Adding a Field

Field details

Sample Form Output

Sample Submission

TODO

  • Multi page forms

Credits

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