PATH:
home
/
rwabteecom
/
project_11
/
app
/
Http
/
Requests
/
Admin
/
Setting
/
Editing: UpdateBasicInformationRequest.php
<?php namespace App\Http\Requests\Admin\Setting; use Illuminate\Foundation\Http\FormRequest; class UpdateBasicInformationRequest extends FormRequest { public function rules(): array { return [ "title.en" => "required|string", "title.ar" => "required|string", "description.ar" => "required|string", "description.en" => "required|string", "address.en" => "nullable|string", "address.ar" => "nullable|string", "first_email" => "nullable|email:rfc,dns", "second_email" => "nullable|email:rfc,dns", "first_phone" => "nullable|string", "second_phone" => "nullable|string", "whatsapp_phone" => "nullable|string", "facebook_link" => "nullable|url", "twitter_link" => "nullable|url", "instagram_link" => "nullable|url", "linkedin_link" => "nullable|url", "snapchat_link" => "nullable|url", "tiktok_link" => "nullable|url", ]; } public function authorize(): bool { return true; } }
SAVE
CANCEL