Support the ongoing development of Laravel.io →

Select Raw inside Eager Load Constraints - Relationship problem

Hi, I need some help with eloquent relationships. I have a 'User' table having two columns: 'latitud...

0 Likes
0 Replies

Token Mismatch on Production

I have a simple app that works fine locally, but when I push it to production, I am getting the Toke...

0 Likes
2 Replies

convert codeigniter url to laravel url fallback

how to convert url like example.com/index.php/students/by_id/101010 to laravel url example.com/stude...

0 Likes
0 Replies

Redis and Pagination

Hello guys, I was wondering how can i cache paginated collection this is my code so far. public fun...

0 Likes
1 Replies

history table

So I have a database full of hardware components. I am willing to implement a function in which if t...

0 Likes
0 Replies

How to use Socialite to authenticate with YouTube API

Can anyone point me to an example of how to use Socialite to authenticate with the Google/YouTube AP...

0 Likes
1 Replies
posted 9 years ago

Lumen route not working

Hi, I am creating a cms to host multiple websites on. I have a route group that catches all url to g...

0 Likes
1 Replies
Solved

Failed to related two model Eager Eloquent Relationships

i'm start learn laravel few days ago, i try to follow tutorial in laravel 4 but i am using laravel 5...

0 Likes
2 Replies

MasterCard integration Using Php language ?

It is my first chance to integrate Mastercard integration to my Php questions and Answers Website. I...

0 Likes
0 Replies

Routes are correct and on localhost works perfectly, online gives me 404

Hi, I've just configured my routes correctly as i do usually: Route::get('/news/', 'PagesController@...

0 Likes
2 Replies

Issue: Foreign Keys and migrations

I am currently receiving the following error when I run my migrations: SQLSTATE[HY000]: General erro...

0 Likes
3 Replies

Input replace before calling rules in FormRequest

I came across this post where you can sanitize input before calling the rules. http://www.easylarave...

0 Likes
2 Replies
Solved

Envoyer, .ENV, Laravel 4, DotEnvPHP

I'm trying to deploy my L4 app with Forge and Envoyer. I've got it copying the environment and sourc...

0 Likes
0 Replies

composer update is not working properly

I tried to install doctrine\dba1 using cmd prompt and got the following error http://laravel.io/bin...

0 Likes
0 Replies

Laravel delete query Exception issue. Please help

I have added 2 categories i.e is "high school" and "lower category school". i ha...

0 Likes
6 Replies
Solved

Alter the function OOTB login of laravel 5.1

Hello! After creation of my first app on laravel, i need to change some things, ex: I need to change...

0 Likes
0 Replies

Laravel 4 : When I try to upload a large file, the page refresh on the form

I've got a problem while trying to upload a large file (20Mb) on a form. It's working fine with smal...

0 Likes
0 Replies

Laravel 5.1 Session Syntax and Usage

According to the 5.1 docs, the new recommended way to work with session data is to inject the reques...

0 Likes
0 Replies

Laravel website published in Google, but it is bad indexed

Hi guys! How are you? I would like to ask you 2 questions about this application: http://www.numant...

0 Likes
0 Replies
posted 9 years ago

Delete record and its related records

Hi to all, i'm new in laravel :). I need to delete one row and its related records. In my case, i ha...

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.