Closed bertheyman closed 8 months ago
This debate and subsequent PR allowed for routes names to be configurable: singular or plural.
The Blueprint default differs from the Laravel docs:
Blueprint
Route::resource('photo', PhotoController::class);
Laravel docs
Route::resource('photos', PhotoController::class);
// config/blueprint.php 'singular_routes' => null,
Have plural as the default option to match the docs and promote Laravel conventions. I realise there is no 100% official naming conventions, but I believe sticking to the docs will help promote one standard.
I agree that the plural/singular is a bit off. If you want to open a PR to correct some of this, I am glad to revisit it.
Synopsis:
This debate and subsequent PR allowed for routes names to be configurable: singular or plural.
The Blueprint default differs from the Laravel docs:
Blueprint
Laravel docs
Proposed Syntax:
Expected Behavior:
Have plural as the default option to match the docs and promote Laravel conventions. I realise there is no 100% official naming conventions, but I believe sticking to the docs will help promote one standard.