Skip to content

piotrw/aoc2022-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎁 Advent of Code 2022 - PHP solutions 🎁

Instalation

composer install

Execute existing task

Parameters:

php run.php [day] [demo] [create]
  • day - execute task day number (from input.txt)
  • demo (day) - execute demo data (from demo.txt)
  • create (day) - create necessary files

Run demo for the first day

php run.php 1 demo

Run task for the first day

php run.php 1

Create new task

Create new task and data for the first day

php run.php 1 create
  • Task class will be created in Days folder
  • Task data will be created in data folder
 🛑 input.txt should be not uploaded to repository  

Configuration

There is small array in task.php file, nothing special

About

Advent of Code 2022

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages