PHP code example of mdphp / region

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

    

mdphp / region example snippets

 artisan mdphp:fetch

// php artisan serve 启动本地环境后, 即可通过 http 接口访问数据

curl localhost:8000/regions

curl localhost:8000/regions/440305

php artisan mdphp:fetch

php artisan mdphp:create-table