Support the ongoing development of Laravel.io →

Trying to get property of non-object One to one relationship eloquent (URGENT)

i have two tables books and 'books_photos' table . Which has one to one relationship. <?php...

0 Likes
6 Replies
posted 8 years ago

Problem with Migration

Hi, i have following migration: $tableName = 'oxacceptedterms'; Schema::create($tableName, func...

0 Likes
0 Replies
posted 8 years ago

Validation Rules

Hello, I have some problems with validation rules in FormBuilder. I want the second choice field to...

0 Likes
0 Replies

accessing price sum on the basis of subcategory

I have three tables: Item { id, category_id, name, price} Category { id, subcategory_id, name } Subc...

0 Likes
0 Replies
posted 8 years ago

Issue with Mockery when injecting multiple mocked objects into controller

I'm using Mockery in my Laravel based PHP project to help test a Laravel MVC controller. Below is th...

0 Likes
0 Replies

How to query soft deleted models?

I have a social network type site where there is the normal front end and an admin interface for me...

0 Likes
0 Replies

Looking for Basic CRUD Laravel App

Hello Everyone, I am new to laravel Framework.I am looking for Baisc CRUD application or any best re...

0 Likes
4 Replies
posted 10 years ago

Caching in Homestead with NFS despite sendfile being off

I have NFS enabled in Homestead.rb (otherwise my responses are way too slow): # Register All Of...

0 Likes
15 Replies
Solved

Laravel Mailable Headers

Hi! First time posting here but always reading issues and solution. Great Forum. My issue is that I...

0 Likes
1 Replies
Solved
posted 8 years ago

How to display the image of pictures in a relational Table.

I have two tables: books and photos table. I stored all the information of books in the books table...

0 Likes
0 Replies

csrf token mismatch http code

Hello to all, I have been looking at the csrf middleware and it seems to me that the proper http res...

0 Likes
0 Replies
posted 10 years ago

Model to array / Model to json Not working

Hello,.. I am new in laravel, and I have a problem when going to transform the model into an array....

0 Likes
4 Replies
Solved

Infinite scroll on a table [L5]

Hello, a few months ago, I successfully implemented Infinite Scroll in Laravel 5 using this tutorial...

0 Likes
3 Replies
Solved
posted 8 years ago

Fatal error: Cannot declare class ComposerAutoloaderInit8dc86f6929c5844bdcb795ce821e1849, because the name is already in use in autoload_real.php

After updating redis package composer shows this kind of error Fatal error: Cannot declare class Com...

0 Likes
1 Replies

Infinite scroll with custom queries in Laravel 5.3

Hi how can I implement infinite scroll with custom queries in Laravel ? Something like : $query = Se...

0 Likes
0 Replies
posted 8 years ago

PHPUnit memory usage due to large routes.php file

I have a Laravel project with 1000+ tests. What I noticed is that the larger my routes.php file gets...

0 Likes
6 Replies
posted 8 years ago

Queueing Algorithm

Hi! I hope this is the right place to ask this. I want to queue one job per user per minute. Not all...

0 Likes
0 Replies
posted 8 years ago

Page isn't working after fresh install

Hi all, I am a front end developer so don't hang me up please. Managed till now to install a new cop...

0 Likes
1 Replies

Laravel 5.3 not honoring smtp credentials on productive server

Hi, I am facing this very strange problem with Laravel 5.3. On my localhost i'm testing mail deliver...

0 Likes
1 Replies

Eloquent / Fluent SubQuery select

Hi, I can't find a way to do a left join to count elements from pivot table using Eloquent and Fluen...

0 Likes
3 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.