cevv13/form-ajax-submit

Make ajax validation with Laravel Requests for forms with bootstrap

1.0.1 2017-06-17 17:11 UTC

This package is not auto-updated.

Last update: 2024-12-21 21:25:44 UTC


README

Make ajax validation with Laravel Requests for forms with bootstrap

This work is an adaptation of: https://github.com/guicho0601/laravel-form-ajax-validation

See the full documentation.

##Installation

1. Composer

Add to the composer of your project

composer require cevv13/form-ajax-submit

Or edit your composer.json

"require": {
    "cevv13/form-ajax-submit": "dev-master"
},

2. Add the ServiceProvider

Open the file config/app.php

"providers": {
    ...
    'Cevv13\FormAjaxSubmit\FormAjaxSubmitServiceProvider',
    ...
},
.
.

3. Publish vendor resources

You need to publish the necessary views for create the scripts of jQuery

$ php artisan vendor:publish --tag=formajaxsubmit
รณ
$ php artisan vendor:publish --provider="Cevv13\FormAjaxSubmit\FormAjaxSubmitServiceProvider"

Author

License

The form-ajax-submit library is open-sourced software licensed under the MIT license