Upgrading Laravel to 5.0

I thought I would document the process I had to go through to upgrade a Laravel 4.2 app to Laravel 5.0. Composer.json modification First off it's the obvious composer modifications, although you may already have the preferred-install and minimum-stability options set. "require": { //... "laravel/framework": "5.0.*@dev…

#Tags: laravel, php, laravel5, upgrade-guide | Comments

Using Laravel4 Service Providers with PSR4 autoloading

Laravels service providers are pretty useful, and when you call $this->package(...) a lot of magic goes on behind the scenes such as registering your config files and view directories. This is great except it is hard coded to use the PSR0 directory structure and with the addition of…

#Tags: laravel, php, composer, autoload, service-providers | Comments

laravel-recipes.com - Code like you cook!

I'll come right out and say it; I can't cook unless I have a recipe and sometimes coding is a lot like that. Fortunately there's a fantastic guy who goes by the name of Chuck Heintzelman that runs a great little site Laravel Recipes that I find myself constantly referring…

#Tags: laravel, learning-resource | Comments

Clean menu management in Laravel 4

A menu is something that all websites need in one form or another and managing those menus can be a right nightmare but Laravel 4 has some awesome features that make this nice and easy. I was recently answering a question on Stack Overflow about generating menus in Laravel four…

#Tags: laravel, php, menus, view-composers, blade | Comments

Ebook Review: Laravel Application Development Blueprints

A while ago I mentioned that I would be reviewing the Laravel Application Development Blueprints learning resource and today I am going to complete that task! To be honest I didn't want to publish this review since I never like downing someone elses work but I have an agreement that…

#Tags: laravel, review, ebook | Comments

Laravel Model Validation using Observers

I've seen a lot of great attempts at validation in Laravel to avoid controller bloat by having the validation done there. One such attempt is the Ardent package by Max Ehsan (LarvelBook). The issue with this approach is that it requires you to extend another class. This becomes an issue…

#Tags: laravel, php, eloquent, validation | Comments