Laravel 4 Primer: JSON

Welcome to one of the Primer topics within Code Bright. Hey this chapter wasn’t in Code Happy!? As a true fan of Code Happy I just can’t put anything past you! Well done loyal reader! You see, Laravel …

Read More

Laravel: The Bright Future

Laravel 4 has now been in active development for many months, and is finally taking shape as a framework, I feel it's now in a state that we can share some information about what's new and what's exciting. However before …

Read More

Composer Primer

Please note that this article acts as an introduction to Composer to be included with my upcoming title 'Code Bright' for Laravel. However, it could just as easily represent a guide to composer for newcomers without the intention of using …

Read More

Breaking the Mold

I always write my talks in Markdown format, so for those people who couldn't make it to Laracon, here's my notes in their rough format. It should tide you over until the conference videos make an appearance. Hi everyone, and …

Read More

Trick: Validation within models.

Often when dealing with Eloquent models you will fall into the pattern of retrieving data from the user, validating it, filling the model and saving it. This is perfectly fine, but can lead to a large amount of validation code …

Read More

Why Laravel 3.2 is going to rock!

Why? Added to_array method to the base Eloquent model. Added $hidden static variable to the base Eloquent model. Added sync method to has_many_and_belongs_to Eloquent relationship. Added save method to has_many Eloquent relationship. Added unless …

Read More

PHP Namespaces Explained

In PHP version 5.3 a new feature known as namespacing was added to the language. Many modern languages already had this feature for some time, but PHP was a little late to the scene. None the less, every new …

Read More

My Development Setup

I often get asked what platform I use to develop on, which software, and about my development setup in general, rather than repeat this information to everyone that asks I thought it might be useful to write a short post …

Read More

Laravel 3.2: The future is bright

With Laravel 3.2 just around the corner, I thought I would take some time out from my usual tutorials and show you all some of the new features that will land with the next version of Laravel. I'm a …

Read More