whem i am implementing one to one relationship in laravel i am getting this error. so pls anyone giv...
I have defined the following two Models: Question.php: <?php class Question extends \Eloquent {...
Running into this odd little issue here with a ORM query. Let me first define how my models are stru...
Hello! I need to do a search by criteria... I have many products, so.. need to show show only the p...
Hey folks, i don't know if this is maybe a bug. I have a User and links. One User has many links. I...
Hello Everyone I want to show current inserted id from controller. This is my code $comp = new C...
Hello everybody, I have a list of topics with a toggle On/Off to get a notification for the topic or...
So, I'm working on adding some functionality to the front page of a site that I'm working on. The us...
Hi! I created a morphMany relation, the related class is in sub folder and the type inserted in data...
I have an insert and delete statement, both contain a nested selected and Laravel won't run them, no...
I can not access my relationships when I order by random. If i remove the random and use all or firs...
I've succeeded in including and using the Database class use Illuminate\Database\Capsule\Manager as...
OK, so I'm using Eloquent as a standalone package in my app. Is there any way I could do pagination...
Hello! I have a "Profile" model related to a "User" model. Currently I'm able to...
How to do this query in the Laravel way: SELECT this AS thispart FROM x WHERE foo = bar Then I'm ref...
I'm trying to implement post formats on a project, much like WP does it. Post formats are used to gi...
Hi all, I have a small issue I can't figure out. I want to be able to get all categories that will d...
I'm really excited about using Laravel, but there's one small problem - I can't connect to my databa...
When using the Artisan plugin in Sublime Text, I get this error when running the commands create_use...
Hey, I'm trying to do a nested count and why it's just not going. Here are all the details: http://l...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community