PHP code example of parse-holy-land-phone / parse-phone

1. Go to this page and download the library: Download parse-holy-land-phone/parse-phone library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

parse-holy-land-phone / parse-phone example snippets


// via new instance
$number = new ParsePhone('025121234');

// via static method
$number = ParsePhone::create('025121234');

$number->isValid();