<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class SendFormRequest extends FormRequest
{
public function rules(): array
{
return [
'email' => 'email',
'name' => 'string',
'phone' => 'string',
'organization' => 'string',
'category' => 'string',
'message' => 'string',
'from_page' => 'string',
// 'file' => 'file|size:5120000',
];
}
}