Level 75
This chapter explains: https://laravel.com/docs/8.x/eloquent-resources
In article they could probably call the folder anyting they probably just chose that name.
3 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I read this blog https://www.positronx.io/build-secure-php-rest-api-in-laravel-with-sanctum-auth/
Why they are using Resources folder. It seems they are using Resources for Query functions
Eg: getAllUsers(), findUser($userId)
This chapter explains: https://laravel.com/docs/8.x/eloquent-resources
In article they could probably call the folder anyting they probably just chose that name.
Please or to participate in this conversation.