{"id":13778547,"url":"https://github.com/ridaamirini/advent-of-code-template","last_synced_at":"2026-01-16T14:52:13.312Z","repository":{"id":90688912,"uuid":"318929513","full_name":"ridaamirini/advent-of-code-template","owner":"ridaamirini","description":"A simple php template for Advent of Code with a utility function to handle inputs. It can be used for every language.","archived":false,"fork":false,"pushed_at":"2021-12-04T17:20:43.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-03T18:13:01.223Z","etag":null,"topics":["advent-of-code","advent-of-code-2015","advent-of-code-2016","advent-of-code-2017","advent-of-code-2018","advent-of-code-2019","advent-of-code-2020","advent-of-code-2021","advent-of-code-php","php"],"latest_commit_sha":null,"homepage":"https://adventofcode.com/","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ridaamirini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-12-06T01:55:19.000Z","updated_at":"2021-12-04T17:20:46.000Z","dependencies_parsed_at":"2024-01-15T18:44:31.152Z","dependency_job_id":"7b2cf397-3b4d-4877-b2c6-6ce288934aba","html_url":"https://github.com/ridaamirini/advent-of-code-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridaamirini%2Fadvent-of-code-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridaamirini%2Fadvent-of-code-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridaamirini%2Fadvent-of-code-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridaamirini%2Fadvent-of-code-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ridaamirini","download_url":"https://codeload.github.com/ridaamirini/advent-of-code-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225048948,"owners_count":17412898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advent-of-code","advent-of-code-2015","advent-of-code-2016","advent-of-code-2017","advent-of-code-2018","advent-of-code-2019","advent-of-code-2020","advent-of-code-2021","advent-of-code-php","php"],"created_at":"2024-08-03T18:00:54.650Z","updated_at":"2026-01-16T14:52:13.273Z","avatar_url":"https://github.com/ridaamirini.png","language":"PHP","funding_links":[],"categories":["Project Templates"],"sub_categories":[],"readme":"# Advent of Code\n\n[2015](/2015/README.md) | [2016](/2016/README.md) | [2017](/2017/README.md) | \n[2018](/2018/README.md) | [2019](/2020/README.md) | [2020](/2020/README.md) | [2021](/2021/README.md)\n\nThis repository contains my solutions for [Advent of Code](https://adventofcode.com/).\n\nThe folder for each day contains:\n- Task of the day\n- Input for the given task\n- Code to solve the given task\n- My solutions to the given input\n\n## Requirements\n\n- PHP 7.4\n- Advent of Code account\n\n## Installation\n\n- `cp config.php.example config.php`\n- Put your session token under: `config.php` file to be able to download descriptions and inputs.\n\n## Usage\n\n- `bin/task --year 2020 --day 1` - will prepare everything for the given task.\n- `bin/run --year 2020 --day 1` - will execute all `code.*` files for the given task.\n- `bin/readme --year 2020` - will create a `README.md` for the given year.\n- `bin/test` - will test all `code.*` files. Beware this can overwrite your `benchmark.json`!!!\n\n### Languages\n\nYou can add every language you want use. \nYou only need to add the binary for executing your script into `binary-ext.map.php`.\n\nAlready added languages:\n- PHP\n- Javascript/Node (in `template/.ignore/`)\n- Golang (in `template/.ignore/`)\n\nTo enable ignored templates for `bin/task`, you need to moved them manually to `template/`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridaamirini%2Fadvent-of-code-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fridaamirini%2Fadvent-of-code-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridaamirini%2Fadvent-of-code-template/lists"}