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.28.0(1mo ago)1108MITPHP

Since May 23Pushed 2mo 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 1w ago

READMEChangelog (10)DependenciesVersions (42)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

43

—

FairBetter than 89% of packages

Maintenance89

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

40

Last Release

38d 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

[lochmueller/calendarize

Create a structure for timely controlled tables (e.g. events) and one plugin for the different output of calendar views (list, detail, month, year, day, week...). The extension is shipped with one default event table, but you can also 'calendarize' your own table/model. It is completely independent and configurable! Use your own models as event items in this calender. Development on https://github.com/lochmueller/calendarize

77170.1k15](/packages/lochmueller-calendarize)[eddieace/php-simple

1365.2k](/packages/eddieace-php-simple)

PHPackages © 2026

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