PHP code example of shakil-ahmmed / path

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

    

shakil-ahmmed / path example snippets


use ShakilAhmmed\Path\Path;

Path::getDivisions();

Path::getDivisions('bn');

Path::getDivisions('en');

Path::getSingleDivision('dhaka' , 'bn'); //(বাংলায়)
Path::getSingleDivision('chittagong'); // ইংরেজিতে

Path::getDistricts();

Path::getDistricts('bn');

Path::getDistricts('en');

Path::getDivisionWiseDistrict('dhaka' , 'bn');

Path::getDivisionWiseDistrict('dhaka');

Path::getDistrictWiseUpzillas('comilla' , 'bn');

Path::getDistrictWiseUpzillas('comilla');