PHPackages                             cyril-verloop/codingame-configuration - 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. cyril-verloop/codingame-configuration

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

cyril-verloop/codingame-configuration
=====================================

A project that contains CodinGame input, output and default code.

1.27.0(3w ago)199MITPHP

Since May 23Pushed 3w ago1 watchersCompare

[ Source](https://github.com/cyrilverloop/codingame-configuration)[ Packagist](https://packagist.org/packages/cyril-verloop/codingame-configuration)[ GitHub Sponsors](https://github.com/cyrilverloop)[ RSS](/packages/cyril-verloop-codingame-configuration/feed)WikiDiscussions trunk Synced 3w ago

READMEChangelog (10)DependenciesVersions (41)Used By (0)

CodinGame configuration
=======================

[](#codingame-configuration)

A project that contains [CodinGame](https://www.codingame.com/) input, output and default code. It is used by projects like [CodinGame PHP tests](https://github.com/cyrilverloop/codingame-php-tests)and [CodinGame JavaScript tests](https://github.com/cyrilverloop/codingame-js-tests)to generate code and test in PHP and JavaScript respectively. Those projects let you code in your favorite IDE, outside of the CodinGame web site.

[![License](https://camo.githubusercontent.com/623e6ceeafcb35ae8bb2eda8ea898ce3c7cf50713d64e7e265099676163ea0ce/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f637972696c7665726c6f6f702f636f64696e67616d652d636f6e66696775726174696f6e)](https://github.com/cyrilverloop/codingame-configuration/blob/trunk/LICENSE)

Content
-------

[](#content)

The `./config/` directory contains the configuration from CodinGame. It contains four sub-directories corresponding to the four levels of difficulty : `easy`, `medium`, `hard` and `expert`.

Here is an example for the easy "ASCII Art" puzzle :

- files are in the `./config/easy/ASCIIArt/` directory;
- default codes are in the `./config/easy/ASCIIArt/code/` directory. Every files are named `CGCode.[language_entension]`. Example : `CGCode.php` for the PHP language. See [languages](CONTRIBUTING.md#languages) for a list of extensions;
- the `./config/easy/ASCIIArt/input/` directory contains the inputs of each tests. One file per test;
- the `./config/easy/ASCIIArt/output/` directory contains the expected outputs of each tests. One file per test;
- the `./config/easy/ASCIIArt/config.json` file has the path to the configuration, the name of the puzzle, the link to CodinGame and the tests :

```
{
    "path": "easy/ASCIIArt",
    "name": "ASCII Art",
    "alphanumName": "ASCIIArt",
    "link": "https://www.codingame.com/ide/puzzle/ascii-art",
    "tests": [
        {
            "name": "Test only one letter: E",
            "alphanumName": "TestOnlyOneLetterE",
            "file": "01 - test only one letter E.txt"
        },
        {
            "name": "Test MANHATTAN",
            "alphanumName": "TestMANHATTAN",
            "file": "02 - test MANHATTAN.txt"
        }
    ]
}
```

Install
-------

[](#install)

### JavaScript / TypeScript

[](#javascript--typescript)

```
npm i @cyrilverloop/codingame-configuration
```

### PHP

[](#php)

```
composer require "cyril-verloop/codingame-configuration"
```

Contributing
------------

[](#contributing)

Contributions are welcome following the [contribution](CONTRIBUTING.md) guide.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance95

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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 ~19 days

Recently: every ~29 days

Total

39

Last Release

23d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/322b031f8ce9fdaf307dc75cc45a33dd2d7ea8e5c75c4e5fc7e5507ccab294f7?d=identicon)[cyrilverloop](/maintainers/cyrilverloop)

---

Top Contributors

[![cyrilverloop](https://avatars.githubusercontent.com/u/37014314?v=4)](https://github.com/cyrilverloop "cyrilverloop (630 commits)")

---

Tags

codecodingamecppexercisejavajavasciptphppuzzletesttypescript

### Embed Badge

![Health badge](/badges/cyril-verloop-codingame-configuration/health.svg)

```
[![Health](https://phpackages.com/badges/cyril-verloop-codingame-configuration/health.svg)](https://phpackages.com/packages/cyril-verloop-codingame-configuration)
```

###  Alternatives

[rashid2538/php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

71129.8k](/packages/rashid2538-php-htmldiff)[paulredmond/html-to-amp

A PHP Library to Convert HTML to AMP HTML

6826.0k](/packages/paulredmond-html-to-amp)[sgh/comparable

Provides Comparable and Comparator interfaces and methods to sort and compare objects based on these.

1474.5k2](/packages/sgh-comparable)

PHPackages © 2026

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