I'd keep it very simple and CRUD-like. If it's a single action to mark a best reply in a forum thread like this one, then I might call it MarkBestReplyController.
Jan 29, 2025
5
Level 2
API - Naming convention for single-action controller
Hey guys,
I'm wondering of there is a naming convention or best practice for naming single-action controller in an API context. I couldn't find anything to it online, neither for Laravel nor other frameworks/languages.
Do you have a preferred naming and what is your opinion about it?
Please or to participate in this conversation.