Provide me a php code - crawler to download pdf files from url

Job ID: 30645007

Budget: $30 – $250 USD

I have this url
https://www.gov.il/he/departments/dynamiccollectors/gazette-official?skip=0&FolderType=2&PublishDate_from=1948-01-01&PublishDate_to=1949-10-10
contain 37 pdf

If you change GET parameters and search for next year you will receive new files
max files output is 200 pdf files

I want to download all the files from years 1940-2022
please provide php code that can download all those files
Related categories: PHP