laravel-shift/blueprint

Plural route naming convention as default to match Laravel docs

Closed this issue · 1 comments

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

Route::resource('photo', PhotoController::class);

Laravel docs

Route::resource('photos', PhotoController::class);

Proposed Syntax:

// config/blueprint.php

'singular_routes' => null,

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.

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.