Tony Lea

Installing Laravel on Amazon EC2

Written on September 19, 2013

OS X and Composer Error 'PHP.ini does not exist'

Written on August 13, 2013

5 Things Only Developers will find funny

Written on July 26, 2013

How to add a new column to the database using migrations

Written on June 21, 2013

Renaming Database Tables in Laravel 4

Written on June 19, 2013

Lets say you've been digging Laravel Migrations and you run into an instance where you need to rename your table. Would you manually change the migrations you already created to reflect the new table ...

How to Open Sublime Text via Terminal

Written on June 11, 2013

Back when I was using TextMate I was easily able to navigate to a directory in terminal and type 'mate .' and open up a specific file or directory in TextMate. Well with Sublime Text 2 you can do this...

PHP the difference between single and double quotes

Written on November 15, 2012

I've been programming in PHP for nearly 10 years, and I would consider myself to be fairly competent with the language. It's funny that some of the simplest things that I would program in PHP I would ...

What are the best tools/languages for Web Development?

Written on October 21, 2012

Do you often wonder if the framework, language, or tools you use will reflect the outcome of your web project? Sometimes we can get so caught up in what to use for our latest idea that it can distract...

How to get Memory and CPU usage in PHP

Written on September 27, 2012

So, a couple weeks ago I experienced heavy server overloads on an app due to so many concurrent users. There may have also been some code clean up that was necessary. Either way it was kind of a heada...

Detect if your browser supports WebSockets

Written on September 25, 2012

WebSockets are great for creating a bi-directional connection between the server and the client. It's also great for making some awesome real-time and interactive web apps. The only downfall with WebS...