Support the ongoing development of Laravel.io →

Eloquent delete from table when the last connection is detached from pivot

Hi! I have images and products table and the pivot table is image_product. What is the best way to a...

0 Likes
0 Replies

join without select() does not load child objects

If you're using a join in your query along with a "with" function to hydrate a child field...

0 Likes
0 Replies

Does Laravel only support ORM and not plain/raw sql?

Hi guys, can someone please tell me if Laravel supports raw/plain sql? I cant find it explicitly sta...

0 Likes
2 Replies
Solved

Editing in laravel

Hi I'm busy with a tutorial and when I try to use the edit line in the model, I end up having a blan...

0 Likes
4 Replies
Solved
posted 10 years ago

Service Provider not found after deployment ???????????

I can run this on my local machine. I got the error like this when first deploy on the server. I pul...

0 Likes
3 Replies

Stuck on Hello World under XAMPP

Hi I am new to laravel and working through a basic tutorial. I installed laravel C:\xampp\htdocs\new...

0 Likes
4 Replies
posted 10 years ago

recursive category system

I am trying to write a global fn for my cat system that is in the base controller. here is the fn in...

0 Likes
0 Replies

Does anyone use the function viaRemember()

I've searched but seem not to have a fix. Again want to put this issue to solve

0 Likes
0 Replies
posted 10 years ago

Retrieve Relationship Properties

I want to assign a post to an author, then when I display the post, I want to display it's author wi...

0 Likes
5 Replies

Installing vedette package

Hi, I'm installing Vedette package from https://github.com/illuminate3/vedette and have 2 problems....

0 Likes
2 Replies

Newbie needs help with undefined variable in blade view.

Hi, I'm new to Laravel and I installed it on a Ubuntu server recently trying to test the framework....

0 Likes
2 Replies
Solved

Auth::onceBasic() remembering authentication

I'm trying to do something similar to here, but not for an API: http://stackoverflow.com/questions/1...

0 Likes
0 Replies

Encrypting email for Eloquent user Auth

I have tried encrypting the email address (username) using mutators and accessors on the model for a...

0 Likes
3 Replies

Strange session behaviour

I've deployed my app to production (godaddy, laravel 4.0), and something is wrong. After user login,...

0 Likes
2 Replies
posted 10 years ago

Why doesn't a One to Many relationship's data get updated after adding an item?

If I use $post->comments()->save($comment) to add a new comment to a post, why does $post->...

0 Likes
1 Replies

A basic question on MVC

Is calling a model or executing a database query from the view, a bad practice or should the variabl...

0 Likes
6 Replies

Nothing to migrate

Hello, everyone. Can you help me? I have some problems with artisan migrate. The issue is, when i ex...

0 Likes
3 Replies
Solved
posted 11 years ago

[Package] Laravel IDE Helper + Model phpDocs Generator

Laravel IDE Helper Generator Complete phpDocs, directly from the source This packages generates a...

0 Likes
1 Replies

What's the the best way to scope todo lists and todo items to a user? (unsure of correct terminology!)

I'm not sure if there's a specific term for what I'm trying to do -I think it's referred to as "...

0 Likes
4 Replies
posted 10 years ago

Abstracting repeated model-validation related code out of repository

We have been implementing the repository pattern along side self-validating models using Magniloquen...

0 Likes
1 Replies
Solved

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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.

© 2025 Laravel.io - All rights reserved.