Testing REST API with Behat

Today I'll cover testing REST APIs with Behat. I will be using Laravel to build our sample REST API. Also, I will be using guzzle as the REST client. This proves to be a much simpler method of testing the REST API then writing a driver or extending mink. This…

Continue reading →

Yaml config files in Laravel

One of the new features in laravel 3.1 is being able to listen for the the Config::loader event allowing for more control over how config files are loaded. With a little bit of work we'll be able to utilize this "hook" to load config files written in yaml…

Continue reading →

Composer with Laravel

Something I needed in my projects was the ability to seemlessly use composer to manage some of my packages as well as third party ones such as the symfony components. With a little digging and a bit of work, I achieved this goal. In this article I'll walk you through…

Continue reading →

Laravel as a git submodule

Laravel is a very active framework with minor patches every few days it seems. It is nice to be able to easily integrate these patches, as they usually contain bug fixes, into our applications easily. I'll present the method I use for achieving this which utilizes git submodules. Get laravel…

Continue reading →

Testing Suite for jRuby on Rails with RSpec

It took me some time to figure out how to setup a performant testing environment in Rails 3 when using jRuby in my development environment. Therefore, I bring you a tutorial on how to setup my testing environment to hopefully save you time if you must also go down this…

Continue reading →

Install jRuby on Rails with RVM

Recently I was asked to switch to using Rails for a new project at my job. At my company we have had nightmares deploying our PHP applications on multiple customers environments, therefore I was asked to use jRuby instead of Ruby so that we may deploy with the JVM. In…

Continue reading →