Support the ongoing development of Laravel.io →
posted 7 years ago

withDefault for hasOne?

Does withDefault() work with a hasOne relationship? I haven't been able to get it to work.

0 Likes
0 Replies

laravel-mix not change

Changes to file webpack.mix.js are not applied File contents webpack.mix.js mix.js('resources/assets...

0 Likes
2 Replies
posted 7 years ago

laravel redirection

After I copied and pasted all the files in my laravel app into the htdocs of my xampp folder (precis...

0 Likes
0 Replies
posted 7 years ago

How to group similar record in laravel?

I have a problem on grouping the record based on its name of the color. Here I would like to explain...

0 Likes
0 Replies

Google reCaptcha always resetting with laravel 5.1

I've searched about it on internet but it seems to be different. I'm using laravel5.1 and implemente...

0 Likes
0 Replies

Securing files/images.

I'm new to Laravel. In previous projects I have had files/images that I want to be accessed ONLY by...

0 Likes
4 Replies
Solved
posted 7 years ago

@foreach- Error

Hello everyone ... I have this problem, it is complicated to explain so I will try to summarize the...

0 Likes
0 Replies
posted 11 years ago

[Resource Controller] route("resource.destroy") calls "resource.show"

Hi everyone, i have a bit of a struggle with the resource controllers. As you can guess from the top...

0 Likes
5 Replies
Solved

Form model binding isn't working with section/include

Laravel 5.4, laravelcollective/html 5.4.8 Parent Blade template for creating/editing Entries: (as yo...

0 Likes
0 Replies
posted 7 years ago

Laravel 5.4 Database Placement Questions

I know how I can get the data needed, but want to follow Laravel/MVC practices here and new to it. I...

0 Likes
0 Replies
posted 7 years ago

Laravel5.4 Eloquent ORM use toArray error

hi,everyone,nice too me you! i'm from chinese,I love the program, 18 years old this year. I really l...

0 Likes
3 Replies

laravel is slow

Hi, my laravel is very slow. It takes 360ms - 1.5s to load (acoording to the debug bar) The database...

0 Likes
20 Replies

Cannot use my Artisan console. It simply just says php command not found

When I try to create a controller like this : $ php artisan make:controller PostController it just l...

0 Likes
2 Replies

Homestead Setup

Hey People, I am trying to setup Homestead on my home machine for Uni. I can get the machine started...

0 Likes
3 Replies

Problems with checkboxes and routes

Hello, I'm trying to get the ID of the ids that I'm passing, in case it can be up to two ids since I...

0 Likes
2 Replies

Multiple Sessions from same browser

Hi, I am creating an application with different set of users - clients, staff and admin. Each one wi...

0 Likes
2 Replies

iPhone Image Manipulation - Flip it?

I set up a form for uploading files and it works great with everything, including pictures from the...

0 Likes
8 Replies
Solved
posted 10 years ago

Once again: Difference between hasOne / has Many and belongsTo/belongsToMany

Hi! I know, thist question has been discussed already in this forum. But sorry, i just don't get it....

php-evs liked this thread

1 Likes
5 Replies
posted 7 years ago

Eloquent object save() updates multiple records

Hello, I'm fetching a specific record with a DB table using MyTable::where(['type' => $sometype])...

0 Likes
4 Replies

I am using the following laravel package for my newsletters:

I am using the following laravel package for my newsletters: laravel-newsletter I have the following...

0 Likes
0 Replies

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.