Support the ongoing development of Laravel.io →

Laravel not validate that the database is up?

When doing the login with the method Auth::attempt() I get this error: ErrorException htmlspecialcha...

0 Likes
0 Replies

Trying to learn TDD

I'm reading through Jeffery Way's book "Laravel Testing Decoded" and I've run into a snag....

0 Likes
0 Replies

URL::previous() not working as expected

Hi guys, The URL::previous() function is always returning my base URL. Has somebody encountered this...

0 Likes
0 Replies

Loading a blade template from Laravel into Wordpress

I have a Laravel site that has an existing Wordpress blog with a different theme. I'd like for the b...

0 Likes
2 Replies

Yet another MAMP vhosts issue

Hey I've been reading through a few issues on here with MAMP vhosts and they've been a great help ge...

0 Likes
0 Replies

I extend Ardent, how to extend a other class

I use Ardent for my models, but i want to use this packages: https://github.com/lazychaser/laravel-n...

0 Likes
0 Replies

How to store ip address at Laravel?

So I want to store users ip in my database, but I coulnd create VARBINARY(16) in my schema builder....

0 Likes
2 Replies
posted 10 years ago

Laravel roadmap

Why have a roadmap if you don't respect it? This makes the usage of Laravel limited to hobbyists, ho...

0 Likes
1 Replies

My function takes too much time to execute ????

I have a static function in one of my Model named invoice which is as follows public static function...

0 Likes
5 Replies

A global object available for all files and Models that don't represent database tables

Sorry for the noob question, I'm using an Instagram API library all across my website, every view us...

0 Likes
1 Replies

Relation with extra condition

TL;DR how to address the same table's field in the additional condition like this: $this->hasMany...

0 Likes
3 Replies
posted 10 years ago

Does Auth::user() create a database query each time I use it?

Does Auth::user() create a database query each time I use it?

0 Likes
7 Replies

From CodeIgniter to Laravel question about Basic routes like in CodeIgniter

Hi guys i came from CodeIgniter! The new user of Laravel! Congrats In CodeIgniter if you create admi...

0 Likes
5 Replies
Solved

How to initialize my Model to save data coming from Ajax request

I am a bit confused on initializing my Model when the data is coming from Ajax request. For general...

0 Likes
1 Replies
posted 10 years ago

ManyToMany with whereHas and pivot

I have a M2M relationship from User->Clubs with an intermediate table which contains the join dat...

0 Likes
2 Replies
Solved

SoftDeletingTrait: What is the point?

Hey, lately I have got a lot of troubles with models that use the SoftDeletingTrait. If I want to ha...

0 Likes
2 Replies

Getting parameters of a call just having the string of the url

Hello! I am trying to have a function called extractParameters that accepts a string, this string sh...

0 Likes
5 Replies

Many to many relationship with Eloquent

Good morning to all guys! I have two table. "user" and "user_user". In the table...

0 Likes
2 Replies
Solved

routes.scanned on production

How are you supposed to deploy to production if the routes.scanned.php file is in .gitignore? I depl...

0 Likes
2 Replies
posted 10 years ago

Slow download using Response::download

Hi all, so I have a large (1.7mb) jpg file that I want to allow users to download as a screen wallpa...

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.