Clone this repo to your machine:
$ git clone https://github.com/s-patompong/advent-of-code-2022.git
Then, cd
into the folder, for example day-01
. Then you'll need to replace the input.txt with your own input content.
After that, execute the php script using php cli:
$ cd day-01
$ php part-1.php