uunmask2000_kk/assets_country

根據一些國家(地區)資訊,返回對應的國家(地區)縮碼國旗*

2.0.1 2023-01-05 14:27 UTC

This package is auto-updated.

Last update: 2025-03-05 19:11:06 UTC


README

composer 倉庫

composer

initialize


require 'vendor/autoload.php'; 
use uunmask2000_kk\AssetsCountry\AssetsCountry;
$AssetsCountry = new AssetsCountry();

```text


### 獲取根據國家(地區)縮碼國旗 getAssetsCountryFlagByCountryCode

```text
input
    $key = ?  , default = "TW"
output
    https://raw.githubusercontent.com/uunmask2000/assets_country/main/src/img/TW.png
```text

### 獲取根據國家(地區)國碼國旗 getAssetsCountryFlagByPhoneCode

```text
input
    $key = ?  , default = "886"
output
    https://raw.githubusercontent.com/uunmask2000/assets_country/main/src/img/TW.png
```text

### 獲取所有國家(地區)國碼國旗 getAllAssetsCountryFlag

```text
input

output
    []
```text
### 獲取國家(地區)資訊,利用 code or dial_code getCountryFlagByColumn

```text
input

output
    []
```text