APIs
Versioning
APIs should be versioned. This is to ensure that changes to the API do not break existing clients. The version should be included in the URL.
Route::prefix('api/v1')->group(function () {
//...
});
Naming
- Use plural nouns for resource names
- Use descriptive names that clearly communicate the resource's purpose