Msoft
7 months ago
555
3
Laravel

How to validate phone number with country Code?

Posted 7 months ago by Msoft

I have validated in My Controller phone number as following,

$this->validate($request, [
    
    'phone'    => 'required'
]);

I need to validate this phone number with country code like +61 how can I do this?

Please sign in or create an account to participate in this conversation.