LARAVEL APIRESOURCE NAME NESTED ROUTE PLACEHOLDER

Ha Nguyen

January 22, 2024

When using an ApiResource that has more than one placeholder it may seem tricky to figure out how to name the placeholder used.

 

For example, take this route:

Route::apiResource(‘users.tenant’, UsersController::class);

 

Read more on: https://dcblog.dev/laravel-apiresouce-name-nested-route-placeholder

 

 

WRITE A COMMENT
Save my information in this browser for the next time I comment
Comment anonymously
Vitex Vitex Vietnam Software., JSC

Service Request Form

Send us your service request and we will get back to you instantly

1 Contact Infomation
  • Name
  • Email
  • Phone
  • Company
  • Address
  • Skype/Telegram
2 Service Request
Website
Mobile Application
Website Application
Other
  • Start time
    icon time
  • End time
    icon time
  • What is your budget range?
    icon time
    Currency USD
  • Front-end
    Ex. React, VueS...
  • Back-end
    Ex. PHP, Java, Python...
  • Database
    Ex. MySQL, Mongo...
  • Advanced technologies
    Ex. Blockchain, AI...
yes
no
  • Select role
    icon time
  • Quantity
    icon time
  • Duration
    icon time
remove

Request Form Successfully !

We' ll contact you in the earliest time.