PHPackages                             darknazz/flags-api - 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. [API Development](/categories/api)
4. /
5. darknazz/flags-api

AbandonedArchivedLibrary[API Development](/categories/api)

darknazz/flags-api
==================

1.0.2(3y ago)027PHP

Since Feb 7Pushed 3y agoCompare

[ Source](https://github.com/darknazz/flags-api)[ Packagist](https://packagist.org/packages/darknazz/flags-api)[ RSS](/packages/darknazz-flags-api/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Country Flags API
=================

[](#country-flags-api)

An easy to use service for country flag images written in PHP using Silex.
[GO TO SITE](https://flags.swcdn.org/)

Installing it yourself
----------------------

[](#installing-it-yourself)

I would be more than happy to let you use my installation of this project at . However, if for some reason, you want to setup your own, just follow these instructions:

Install backend deps by running `composer install`. Then install frontend deps by running `npm install`.
If you are having issues with the routing (e.g. 404 Not Found when trying to access flag image) try following [this guide](http://silex.sensiolabs.org/doc/master/web_servers.html) about webserver configuration.

Image Credits
-------------

[](#image-credits)

The flag images come from . Their site is awesome!

Disclaimer
----------

[](#disclaimer)

I made this in the middle of the night at 3 AM because I needed some distraction from my main project.
As you can imagine, at said time one might not be extremely focused. I apologize for any weird code mistakes. ;)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

3

Last Release

1242d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36658349?v=4)[darknazz](/maintainers/darknazz)[@darknazz](https://github.com/darknazz)

---

Top Contributors

[![darknazz](https://avatars.githubusercontent.com/u/36658349?v=4)](https://github.com/darknazz "darknazz (4 commits)")[![sebwalk](https://avatars.githubusercontent.com/u/6324895?v=4)](https://github.com/sebwalk "sebwalk (1 commits)")

### Embed Badge

![Health badge](/badges/darknazz-flags-api/health.svg)

```
[![Health](https://phpackages.com/badges/darknazz-flags-api/health.svg)](https://phpackages.com/packages/darknazz-flags-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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