Propaganistas/Laravel-Phone

Number does not match the provided country. (NumberParse Exception)

HeadStudios opened this issue · 1 comments

Running the following code:

$mobile = PhoneNumber::make('+61463315544', 'AU')->formatE164();
    return $mobile;

Returns the following NumberParseException error:
'Number does not match the provided country.'

This is despite the format being a standard Australian international mobile format.

Any input or suggestions would be much appreciated.

Thank you!

Please don't skip the issue guidelines. Libphonenumber reports it clearly to be invalid.

The number has a correct length (isPossibleNumber), but just isn't valid according to carrier data.

4D79E23D-ADD6-4AFA-8439-A5D437D38A25