Support the ongoing development of Laravel.io →

Eloquent Observation - "Cumulative" method chaining?

So, I had a pretty common need to generate a query against a table based on multiple column values....

0 Likes
0 Replies
posted 10 years ago

CPU spikes due to many cache files?

We recently moved our application to Laravel. This has all been going great, but we ran into one pro...

0 Likes
0 Replies
posted 10 years ago

Eloquent with PHP 5.2

I want to use Eloquent outside of Laravel, but I need to be compatible with PHP 5.2. Which version s...

0 Likes
4 Replies
Solved

Quickstart: undefined variable error exception

Coming over from Kohana to try out Laravel. I'm using the Homestead vagrant box. Following the Quick...

0 Likes
1 Replies
posted 10 years ago

Laravel 4 RESTful Controller PUT Request not working

Hi, I'm using laravel 4 with backbone and it has been working fine up till now. I'm trying to update...

0 Likes
3 Replies
posted 10 years ago

how to set path for my laravel files

-Hello Developers ,I want to set paths in public/index.php and bootstrap/paths for my cpanel my home...

0 Likes
2 Replies

Session not persisting

Hello! After the user login on the admin panel I redirect him to the dashboard, but on that page the...

0 Likes
0 Replies
posted 10 years ago

The $model returned by the create method of Model doesn't contain all attributes such as deleted_at

for example: $input = ['username'=>'abcd123']; $user = \User::create($input); $user attributes:...

0 Likes
4 Replies
Solved
posted 10 years ago

Overriding package controller

Hi there, I don't know if my question makes sense, but let me explain my issue first: I'm using a pa...

0 Likes
0 Replies

In mysql.log only PREPARE, why?

I try run this code: $rows = DB::table(CustomerNumber::TABLE) ->join(NumberGroup::TABLE, functio...

0 Likes
0 Replies

Mod rewrite enabled but no clean urls

Guys, Im running Linux Ubuntu on my server, but i dont get clean URLs. My htaccess is laravels defau...

0 Likes
1 Replies
posted 10 years ago

Where can I find documentation of particular feature of @extends syntax?

All of my views basically start like this: @extends("templates.core",["title"=&g...

0 Likes
0 Replies

Paginator view

Hy guys, I would appreciate a lot if someone could help me. My problem is that I have frontend and b...

0 Likes
0 Replies

Minimalistic starting structure and using just parts of Laravel

Hi, I am new to Laravel, and as always that bothered me is the configurations of the frameworks... i...

0 Likes
1 Replies
posted 10 years ago

belongsToMany relationship and has('relation') ==> Has() don't work

Hi, When i use Has() to have only result where the other table is not empty, that don't work. I have...

0 Likes
0 Replies

Search based on provided input

Is there a clever way of composing an eloquent search where it only applies values sent thought and...

0 Likes
1 Replies

Eagerloader with no select *

I have the query like this $article = new Article(); $query = $article->with('user')...

0 Likes
3 Replies

Problem with homestead/vagrant and image upload

Hello everybody! I am running into a problem with Homestead. I have a piece of code that works well...

0 Likes
1 Replies
Solved

Laravel controllers functions ?

Hello every one. I am trying to make a function in my controller public function new(){ return View:...

0 Likes
1 Replies

Laravel 4 - Too much logic in my view template?

Hello, I created a search functionality within my Laravel project - the user can search for teamname...

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.