Validation

Laravel Validation

Validate Rule

latitude & longitude

public function rules()
{
    return [
        'latitude' => [
            'numeric',
            'between:-90,90',
        ],
        'longitude' => [
            'numeric',
            'between:-180,180',
        ],
    ];
}

Language

Laravel Validation Language

Array

Laravel Validation Array

Rule

Laravel Validation Rule