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

Unable to mock database calls

Hello guys, I am trying to mock the Eloquent Builder calls to the database: $user = new User...

0 Likes
0 Replies
posted 7 years ago

Laravel or Drupal 8?

This question is for anyone who has used both "frameworks" (if you can call D8 that) to bu...

0 Likes
2 Replies
posted 8 years ago

Modify a json file with laravel

as I can modify a json in laravel file? In the methods available for the File class, only allows me...

0 Likes
3 Replies
posted 7 years ago

Undertake the finest ways to prevent cancer in human body!

These days, there are a lot of ways that people tell each other regarding preventing cancer. In earl...

0 Likes
0 Replies

How to optimize laravel applicaiton by using Class map

I have eCommerce website develop on Laravel but performance of site is quite slow , so how can i opt...

0 Likes
0 Replies

call to undefined method and parse error

I have 3 tables: users, category and profile tables. The profile table has user_id and category_id a...

0 Likes
1 Replies
posted 7 years ago

Models propeties and where are they?

I'm new to Laravel. I am trying to understand if I create a model called Cat, and the cat has a prop...

0 Likes
3 Replies

Laravel IoC

Hi I am new to laravel IoC. Can you please suggest me a good tutorials/references to learn IoC from...

0 Likes
1 Replies

Blank page on my server

I'm trying to view my pages on my sever. When I installed laravel on my server I could access the we...

0 Likes
14 Replies

ManyToMany Relationship With Third Table

Hi, Using Laravel 5.5 I am trying to design an incident management system which has bespoke requirem...

0 Likes
1 Replies

Laravel Echo / Socket.io session token refresh?

I'm working on a Vue SPA adding realtime features using Laravel Echo, Laravel Echo Server, and Redis...

0 Likes
0 Replies
posted 7 years ago

Creating default object from empty value Laravel 5.6

I'm trying to Edit details of User, Edit working Fine but not for Multiple Images, Single Image Bein...

0 Likes
0 Replies
posted 7 years ago

sync() with where on the intermediary table

Hi, When using sync() a query like this is generated: update `course_group_course` set `year` = ? wh...

0 Likes
0 Replies
posted 7 years ago

PHP Interview Questions And Answers

Welcome to phpinterview.in. If you are looking for php job then you are at right place. We provide m...

0 Likes
0 Replies

Integrate bitcoin using bitpay in laravel 5

I am working on laravel 5. I want to integrate bitcoin on my project. I have followed http://kodeinf...

0 Likes
2 Replies

Illuminate\Pagination\LengthAwarePaginat::$divisionPK

division.blade.php {!! Form::model($divisions, [ 'method' => 'PATCH', 'route' => ['divisions.u...

0 Likes
0 Replies

Laravel JS Translation

I'm working with a Vue & Laravel project. Laravel translation has been completed. My issue now i...

0 Likes
0 Replies

Laravel Search WHereHas JUST when has Value

Hello , I have a question . I want to search Tags ( Many to Many ) in My post , JUST if I select tho...

0 Likes
1 Replies
Solved
posted 7 years ago

how to change query type of eloquent with method

i use laravel and my db is sql server . when use with method on eloquent , it make a query has where...

0 Likes
1 Replies

Getting relation subquery

Hello! There is some problem with ordering eloquent query results by field from related table. Every...

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