Файловый менеджер - Редактировать - /home/clickysoft/public_html/assets.clickysoft.net/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', 'email', 'unique:users,email', ], // 'organization_contact_number' => [ // 'nullable', // 'min:11', // 'max:15' // ], // 'organization_address_line1' => [ // 'nullable', // 'max:255' // ], // 'organization_address_line2' => [ // 'nullable', // 'max:255' // ], // 'city' => [ // 'nullable', // 'max:50' // ], // 'state' => [ // 'nullable', // 'max:50' // ], // 'zip' => [ // 'nullable', // 'max:15' // ], // 'country_id' => [ // 'required', // 'integer', // 'exists:countries,id', // ], // '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', // 'email', // 'unique:users,email', // ], 'user_password' => [ 'required', 'min:8', 'max:20', 'confirmed', ], ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка