Support the ongoing development of Laravel.io →
posted 5 years ago
Requests

Hello, If there is a difference in route description of my laravel 5 app as :

Route::post('run-user-list-export-to-csv', 'UserListsController@run_user_list_export_to_csv');

```and

Route::post('run_user_list_export_to_csv', 'UserListsController@run_user_list_export_to_csv');

I mean if second variant with "_" will work without problems on any modern browsers and does it fit
any strict SOLID,DRY, SEO FREANDLY, any route rules?

I mean that second variant is more convinient to searching in my PHPStorm editor , as writing in search like “run_user_list_export_to_csv” 
will find all js script all, web routes and control definitions ...

Thanks!
Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.