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

Code Happy

Are you looking to learn the Laravel PHP Framework? Well 640+ readers think that my book Laravel: Code Happy is the best way  to get started. With 22 chapters and all future additions and updates for free, its a bargain …

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

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