Adding multiple prefix in a single route group in Laravel
<p>Is there a way to add multiple prefix in a single route group in Laravel?</p>

<pre><code>Route::group(['prefix' =&gt; 'prefix'], function (){
   Route::get('hello', 'HelloController@sayHello');
});
</code></pre>

<p>I have tried adding using pipe-</p>

<pre><code>Route::group(['prefix' =&gt; 'prefix1|prefix2'], function (){
   Route::get('hello', 'HelloController@sayHello');
});
</code></pre>

<p>Also tried using array- </p>

<pre><code>Route::group(['prefix' =&gt; ['prefix1', 'prefix2']], function (){
   Route::get('hello', 'HelloController@sayHello');
});
</code></pre>

<p>But no luck. Is there really any way to do that?</p>