Support the ongoing development of Laravel.io →
Rodrigo Alves

Rodrigo Alves

Joined 16 Mar 2020

Statistics

Threads 0
Replies 22
Solutions 0
Articles 0

elementyys has not posted any threads yet

replied 5 years ago

how to get last inserted id in laravel 6?

Model::orderBy('id', 'desc')->first(); ? Are you doing in a loop ?

0 Likes
replied 5 years ago

Laravel API routes - Same path, multiple methods

Change the order of the routes. First the ones without the variable and then with the variable. And...

0 Likes
replied 5 years ago

Laravel, Vuejs, axios get tasks for logged in user

If you're receiving 401 it means the token might not be sent in the axios request to API therefore t...

0 Likes
replied 5 years ago

Complex validation logic

Check out required_if validator rule and required_with, required_without https://laravel.com/docs/6....

0 Likes
replied 5 years ago

migrate error

"...check to see if you have the correct PHP extensions installed" from https://stackoverf...

0 Likes

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.

© 2026 Laravel.io - All rights reserved.