Файловый менеджер - Редактировать - /home/clickysoft/public_html/app/Http/Requests/OrganizationSignupRequest.php
Назад
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class OrganizationSignupRequest extends FormRequest { /** * Determine if the user is authorized to make this request. */ public function authorize(): bool { return true; } /** * Get the validation rules that apply to the request. * * @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string> */ public function rules(): array { return [ 'organization_name' => [ 'required', 'min:1', 'max:50', ], 'organization_email' => [ 'required', 'unique:organizations,email', ], 'organization_contact_number' => [ 'nullable', 'min:11', 'max:15' ], 'logo' => [ 'nullable', 'mimes:png,jpg,jpeg', 'max:2048', ], 'user_first_name' => [ 'required', 'min:1', 'max:30', ], 'user_last_name' => [ 'nullable', 'min:1', 'max:30', ], 'user_email' => [ 'required', 'unique:users,email', ], 'user_password' => [ 'required', 'min:8', 'max:20', 'confirmed', ], ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка