PHPackages                             openrun/restcountries - 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. openrun/restcountries

ActiveProject[API Development](/categories/api)

openrun/restcountries
=====================

02PHP

Since Feb 3Pushed 7y agoCompare

[ Source](https://github.com/openrun/restcountries)[ Packagist](https://packagist.org/packages/openrun/restcountries)[ RSS](/packages/openrun-restcountries/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

restcountries.eu supporting class
=================================

[](#restcountrieseu-supporting-class)

---

### Installation

[](#installation)

Copy repository to your local folder and run command

```
$ composer install

```

or install through packagist:

```
$ composer create-project openrun/restcountries --stability dev

```

### Task Description

[](#task-description)

To create a PHP application that will list all the countries which speaks the same language or checks if given two countries speak the same language by using open rest api:

[https://restcountries.eu/ ](https://restcountries.eu/%C2%A0)

### Requirements:

[](#requirements)

\[-\] Php application should be executable from console by giving country name as parameter:

```
$ php index.php Spain 

```

*\[Output\]*

```
Country language code: es

Spain speaks same language with these countries: Uruguay, Bolivia, Argentina.. 

```

 \[-\] In case of two parameters given, application should tell if the countries talking the same language or not

```
$ php index.php Spain England 

```

 *\[Output\]*

```
Spain and England do not speak the same language 

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![openrun](https://avatars.githubusercontent.com/u/47225060?v=4)](https://github.com/openrun "openrun (2 commits)")

### Embed Badge

![Health badge](/badges/openrun-restcountries/health.svg)

```
[![Health](https://phpackages.com/badges/openrun-restcountries/health.svg)](https://phpackages.com/packages/openrun-restcountries)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

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

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k11](/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)
