all code for laravel 4