/Blog

Installing PHP 7 on Mac using Homebrew

Here is a quick way to install PHP7 on Mac, in three easy steps. brew update brew install homebrew/php/php70 export PATH="$(brew --prefix homebrew/php/php70)/bin:$PATH" Alternatively you can add export PATH="$(brew --prefix...

Automatic construction injection in Slim 3

In the previous blog post we have discussed how to replace the default Pimple Container with Aura.DI in Slim framework 3. Aura.DI gives us more flexibility in terms of managing dependencies. We saw one most useful feature in Aura.DI, Inheritance of...

Slim 3: Replacing Pimple with Aura.Di

Slim framework is my go-to micro framework for all small projects because of it's simplicity and easiness to use. The new version of this cool framework is just around the corner and they have released RC-1 a few days back. Slim 3 have some very...

HaPHPy 20th Birthday PHP!

Today is the 20th birthday of PHP. Rasmus Lerdorf announced first version of PHP on 8th June 1995. It's been an amazing journey since then. Now as a language that powers 80% of the web, including most popular websites like Facebook, Wikipedia, etc....

Human friendly date-time formatting for Symfony and Twig

KnpLabs/KnpTimeBundle is a really simple Bundle which converts date time strings to human friendly "ago" dates with support to many languages out of the box. Here is how you can use it in your Symfony projects. First things first. Before you use...

Setting up SSL in Elastic Load Balancer

SSL is now inevitable for web application that handles user data or any sensitive information. Now a days more and more web applications making their web traffic encripted. For some it's not just about the security, but also increases credibility...

Tech meetups in Kerala, why it's important?

I always wanted to share my thoughts about the importance of the tech meetups in Kerala and how developers, the companies and the tech industry in Kerala can benifit from this gathering. But I think most of the people who attend the meetups have an...

CSS Tip - Multiple elements sharing full width

Sometime you may want to have multiple divs inside a container sharing 100% width equally. This is especialy useful when you have dynamic number of divs which should equaly divide full width. This is where display:table comes handy. When you set the...

An interesting Ted talk - How to tie your shoes

I barely write non-tech posts in my blog. In fact, I never did earlier. But this is somthing I felt really interesting. Not just beacuase of what it is. This Ted talk made me think about how we need to shape our thoughts, to be useful and to be...

Better productivity with Tmux and Teamocil

This is an article that I started more than two years back (to be precise, on January 2012) and kept in my Google drive without touching for a long time. But I have been using tmux ever sice I found it and it's a great productivity tool for me. You...