<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>PHP on Diarmuid.ie</title><link>/tags/php/</link><description>Recent content in PHP on Diarmuid.ie</description><generator>Hugo -- 0.164.0</generator><language>en-IE</language><lastBuildDate>Wed, 12 Aug 2015 00:00:00 +0000</lastBuildDate><atom:link href="/tags/php/feed.xml" rel="self" type="application/rss+xml"/><item><title>On The Fly PHP Image Manipulation Server With ImageRack, Heroku and S3</title><link>/blog/on-the-fly-php-image-manipulation-server-with-imagerack-heroku-and-s3/</link><pubDate>Wed, 12 Aug 2015 00:00:00 +0000</pubDate><guid>/blog/on-the-fly-php-image-manipulation-server-with-imagerack-heroku-and-s3/</guid><description>&lt;p&gt;This guide will show you how to install an &lt;a href="https://github.com/diarmuidie/ImageRack"&gt;ImageRack&lt;/a&gt; server on an &lt;a href="https://www.heroku.com/"&gt;Heroku&lt;/a&gt; free dynamo to resize and serve images from an &lt;a href="https://aws.amazon.com/s3/"&gt;Amazon S3&lt;/a&gt; bucket. ImageRack is an easy to setup on the fly image manipulation server written that I wrote to simplify handling user media uploads.&lt;/p&gt;</description></item><item><title>Deploying PHP Workers to AWS Elastic Beanstalk</title><link>/blog/deploying-php-workers-to-aws-elastic-beanstalk/</link><pubDate>Sun, 17 May 2015 00:00:00 +0000</pubDate><guid>/blog/deploying-php-workers-to-aws-elastic-beanstalk/</guid><description>&lt;p&gt;&lt;a href="http://aws.amazon.com/elasticbeanstalk/"&gt;AWS Elastic Beanstalk&lt;/a&gt; (EB) is an AWS service that lets you automatically deploy load balanced PHP applications to EC2. One of the lesser know features is the ability to setup EB as a worker to handle long running or computationally intensive tasks (Think image processing/bulk mail sending etc.). EB Workers listen to a SQS queue and automatically run any jobs you put onto the queue. In this post I&amp;rsquo;ll show you how to setup your own EB PHP worker.&lt;/p&gt;</description></item><item><title>Multiple Twig Template Folders with Slim Framework</title><link>/blog/multiple-twig-template-folders-with-slim-framework/</link><pubDate>Sat, 09 Aug 2014 00:00:00 +0000</pubDate><guid>/blog/multiple-twig-template-folders-with-slim-framework/</guid><description>&lt;p&gt;This post is more for my own records than anything else as I couldn&amp;rsquo;t find this information anywhere on the internet.&lt;/p&gt;
&lt;p&gt;I have a &lt;a href="http://slimframework.com/"&gt;Slim Framework&lt;/a&gt; application that uses &lt;a href="http://twig.sensiolabs.org/"&gt;Twig&lt;/a&gt; for it&amp;rsquo;s templates. I wanted to initiate the Twig instance in my bootstrap file, but then to dynamically update the template directory within my class files depending on the request. It took me a while to figure out how to set Slim to look in multiple directories, or to change the template directory altogether, to render a view.&lt;/p&gt;</description></item></channel></rss>