Serving Multiple File Types with AWS through SlimPHP

Posted on Posted in PHP

Ok, I recently ran into something where I wanted to implement API downloads using SlimPHP with a direct link (or id). The files are actually served through Amazon S3. Now, the good thing is that if you are using SlimPHP version 3, it takes the Guzzle interface for the response which you can easily drop […]

PHP Generators

Posted on Posted in PHP, PHP, Tech

Ok, I have been reading Modern PHP by Josh Lockhart and I came across something that I never even knew that I could use to immediately update my code and that is generators. If you don’t know what they are, they are basically one way iterators without all the fancy stuff. But the greatest use […]

PHP CLI and Local Setup Headaches

Posted on Posted in CLI, PHP

Ok, I had some trouble running across some Linux setup stuff when it comes to running cron jobs for PHP scripts that I wanted to pass along in a helpful post. We had some cron jobs that were running weekly and monthly for a long time in the old CGI environment. They were working just […]