Important Notes
- rtCamp’s WordPress training program will include WordPress training. Since WordPress is primarily built using PHP, we require you are well versed with PHP. So all assignments here should be solved using PHP mainly.
- Apart from PHP, you can use JavaScript, HTML, and CSS. Please do not use other programming languages.
- For storage requirements, please stick to MySQL and/or Redis. The technical interview does have some questions around MySQL so it’s better to get familiar with MySQL.
- There is no time limit for the assignment. You can submit it whenever you are ready.
Programming Challenges
Below are details about a few problem statements. You can solve any ONE of them.
Note: We have archived video and Twitter challenges but if you are already working on them, it’s ok to proceed with them. Their details are here. If you are starting afresh, it’s better to try following challenges as they are much simpler.
1. Email a random XKCD challenge
Please create a simple PHP application that accepts a visitor’s email address and emails them random XKCD comics every five minutes.
- Your app should include email verification to avoid people using others’ email addresses.
- XKCD image should go as an email attachment as well as inline image content.
- You can visit https://c.xkcd.com/random/comic/ programmatically to return a random comic URL and then use JSON API for details https://xkcd.com/json.html
- Please make sure your emails contain an unsubscribe link so a user can stop getting emails.
Since this is a simple project it must be done in core PHP including API calls, recurring emails, including attachments should happen in core PHP. Please do not use any libraries.
2. Email Github timeline updates
Please create a simple PHP application that accepts a visitor’s email address and email them a Github timeline update every five minutes.
- Your app should include email verification to avoid people using others’ email addresses.
- Monitor https://github.com/timeline for changes
- Send new updates to appear in the last five minutes
- Please make sure emails are formatted nicely so one can jump to any part of the application
- Please make sure your emails contain an unsubscribe link so a user can stop getting emails.
Since this is a simple project it must be done in core PHP including API calls, recurring emails, including attachments should happen in core PHP. Please do not use any libraries.
Submission Guidelines
Please check Assignment Submission Guidelines before you start working on the assignment.
Once you read the above guidelines, you can click on the link rt.cx/ghc-php for GitHub to create a rtLearn repo for your assignment automatically. Below is a screenshot of the webpage with the GitHub repo URL highlighted. You should always use repo under github.com/rtlean address for your assignment.

The demo you can host anywhere, including your computer as long as it’s publicly accessible. Again, check Assignment Submission Guidelines for more details.
Only when you have the demo and code ready, please submit your assignment through this form.
Have Questions?
Pease try to use forum first. In real web development career, you will be using online Q&A forums a lot.
If for some reason, you would like to ask questions privately to the team, then please email [email protected]