I wanted to share this code because I'm finding it difficult to find up-to-date information and examples on the Reddit API; using PHP.
This is a standalone script that allows you to post to any Reddit subreddit. You need to create an application on reddit and import your clientID and clientSeed. I will update this post with detailed guidance.