获取分区、地区和次地区名称(孟加拉国)的包

v1.0.3 2023-10-18 11:19 UTC

This package is auto-updated.

Last update: 2024-09-18 13:20:53 UTC


README

获取分区、地区和次地区名称(孟加拉国)的包

安装

composer require shakil-ahmmed/path

使用

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');