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 2mo 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

Maturity38

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://www.gravatar.com/avatar/f09f532a12154a5b7ce4199db57770bb81111eb33c9403fc8597770523870703?d=identicon)[openrun](/maintainers/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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M452](/packages/google-gax)

PHPackages © 2026

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