PHPackages                             uunmask2000\_kk/assets\_country - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. uunmask2000\_kk/assets\_country

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

uunmask2000\_kk/assets\_country
===============================

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

2.0.1(3y ago)171LGPL-3.0PHPPHP &gt;=7.4

Since Jan 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/uunmask2000/assets_country)[ Packagist](https://packagist.org/packages/uunmask2000_kk/assets_country)[ RSS](/packages/uunmask2000-kk-assets-country/feed)WikiDiscussions dev Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

國家資訊 V1.0.0 - main
==================

[](#國家資訊-v100---main)

composer 倉庫
-----------

[](#composer-倉庫)

[composer](https://packagist.org/packages/uunmask2000_kk/assets_country)

### initialize

[](#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

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1224d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/29949f01971e3c386c6583e3382aa614197a3af31f37e47a1d98da7468182536?d=identicon)[uunmask2000](/maintainers/uunmask2000)

---

Top Contributors

[![uunmask2000](https://avatars.githubusercontent.com/u/14743902?v=4)](https://github.com/uunmask2000 "uunmask2000 (37 commits)")

### Embed Badge

![Health badge](/badges/uunmask2000-kk-assets-country/health.svg)

```
[![Health](https://phpackages.com/badges/uunmask2000-kk-assets-country/health.svg)](https://phpackages.com/packages/uunmask2000-kk-assets-country)
```

###  Alternatives

[mobiledetect/mobiledetectlib

Mobile\_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.

10.7k159.4M431](/packages/mobiledetect-mobiledetectlib)[illuminate/contracts

The Illuminate Contracts package.

704122.9M10.1k](/packages/illuminate-contracts)[phiki/phiki

Syntax highlighting using TextMate grammars in PHP.

3573.0M23](/packages/phiki-phiki)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[flow-php/etl

PHP ETL - Extract Transform Load - Abstraction

374468.4k51](/packages/flow-php-etl)[gehrisandro/tailwind-merge-php

TailwindMerge for PHP merges multiple Tailwind CSS classes by automatically resolving conflicts between them

1391.5M9](/packages/gehrisandro-tailwind-merge-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
