PHP code example of ponto-sistemas / laravel-form-ajax-validation-ponto

1. Go to this page and download the library: Download ponto-sistemas/laravel-form-ajax-validation-ponto library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ponto-sistemas / laravel-form-ajax-validation-ponto example snippets


"providers": {
    ...
    'PontoSistemas\LaravelFormAjaxValidationPonto\LaravelFormAjaxValidationPontoServiceProvider',
    ...
},

public function rules()
{
	return [
          'name'=>'>'

public function messages()
{
	return [
          'name.ption',
          'name.max'=>'Your name have less than 5 letters?',
	];
}

public function attributes(){
        return [
            'name'=>'Your name',
            'tags'=>'The tags',
        ];
    }
console
$ php artisan vendor:publish
console
$ php artisan make:Request TestRequest
html
<form method="post" action="<?=url('save_form')