Support the ongoing development of Laravel.io →
usm4n

usm4n

Joined 19 Feb 2014

Statistics

Threads 2
Replies 82
Solutions 17
Articles 0

Tutorials on upcoming Laravel 4.3.

Hi, new tutorials on upcoming Laravel 4.3 are available on codeheaps.com: Laravel 4.3: New Awesome...

0 Likes
0 Replies

[Package] Guardian: RBAC Package For Laravel 4.2

##What is guardian? Guardian package for Laravel provides an easy interface to manage Role Based Acc...

0 Likes
2 Replies
replied 11 years ago
0 Likes
replied 11 years ago

The variable loses its value inside the SQL query in Eloquent (a matter of scope)

I think whereRaw should be like this: ->whereRaw('id_specialty = ?', $dato);

0 Likes
replied 11 years ago

The variable loses its value inside the SQL query in Eloquent (a matter of scope)

Closures has there own local scope they dont see outer variables try using function($query) use($dat...

0 Likes
replied 11 years ago
0 Likes
replied 11 years ago

What's the correct way to get the ID from the URI?

In laravel we can either specify a closure or a controller action to handle a specific request. When...

0 Likes
Solved

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.