Support the ongoing development of Laravel.io →

changing the package directory name

Will changing the package directory name in the pubic directory break packages?. If so what is the s...

0 Likes
0 Replies
posted 11 years ago

How would one run a `SELECT` on a subquery using Fluent?

I'm currently building out a query using Fluent, and it works correctly - but I'd like to run SELECT...

0 Likes
1 Replies
posted 11 years ago

rolling back a previous migration

what i need to do is rollback a migration i did a few days ago. is this possible? i've read the docu...

0 Likes
1 Replies

Pro-active Caching: Looking For Ideas

I have built a business application using Laravel that utilizes several very large datasets. There i...

0 Likes
1 Replies
posted 11 years ago

Token Mismatch Exception

Hey everyone I am dealing with a TokenMismatchException. I do know it has to do with CSRF. Here is t...

0 Likes
4 Replies

What's the correct way to get the ID from the URI?

On the page that lists the user's cars, each list item has the following link: {{URL::to("cars/...

0 Likes
7 Replies
Solved
posted 11 years ago

The variable loses its value inside the SQL query in Eloquent (a matter of scope)

Hello and good day to everyone The issue is tricky (for me). I passed the parameter value from the c...

0 Likes
15 Replies
Solved

URL::route cannot find defined route

I'm trying to generate URLs on the view for some routes, so I have the freedom to change their URLs...

0 Likes
1 Replies
posted 11 years ago

Checking if object is related in many-to-many

I have a Post model with the following function: public function tags() { return $this->belongs...

0 Likes
1 Replies
Solved

Class Controller does not exist - ReflectionException

hi guys, i dont know exactly what should i tag for this problem. Anyway just deployed my app on a La...

0 Likes
0 Replies

Installing laravel on server without SSH

Hello, I'm an absolute beginner so it's possible I'm making a crucial mistake here or something. Til...

0 Likes
3 Replies
Solved

Passing variables to view

I think I might have discovered a bug. This is what I have until now. Routes.php Route::get('/{u...

0 Likes
1 Replies
posted 11 years ago

Changing model form to include file.

When I do a var_dump of the input, the file is not there. I have modified a model bound form created...

0 Likes
2 Replies
Solved
posted 11 years ago

Validator->failed() returns empty array

Hey guys, I'm pretty new to laravel and I would like to use the Validator which comes with laravel....

0 Likes
1 Replies
Solved
posted 11 years ago

Forum Feature Requests

Just figured I'd create this thread for feature requests specific to the forum...obviously some may...

0 Likes
43 Replies

Laravel Quickstart: Class 'User' not found

Dear Laravel Users, I just got to know a few days ago about Laravel (=> I'm a "stupid starte...

0 Likes
5 Replies
Solved
posted 11 years ago

Problem with cache

Hi all, I have a problem witch cache. I get exception when i try to add tags to cache... Cache::tags...

0 Likes
5 Replies

Change associated table in model with setTable() don't works

Hello community, I try to get data via one model from two different tables, so I want to change the...

0 Likes
0 Replies

Model attribute accessor not working with object_get helper function

The model: class Item extends Eloquent { public function getCentsAttribute() { return substr(...

0 Likes
3 Replies
Solved

How can I cache all data in Eloquent

How can I try to using cache for all of Eloquent query. Example: $users = User::remember(10)->get...

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.