PHP code example of lyhiving / address

1. Go to this page and download the library: Download lyhiving/address 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/ */

    

lyhiving / address example snippets



use lyhiving\address\address;
$address = new address();

$string = '深圳市龙华区龙华街道1980科技文化产业园3栋317    张三    13800138000 518000 120113196808214821';
$r = $address->smart($string);