<?php

$router->group(['prefix' => 'v1'], function () use ($router) {
    $router->post('reverse', ['uses' => 'ApiController@reverse', 'as' => 'strings.reverse']);
});
<?php

$router->group(['prefix' => 'v1'], function ($router) {
    $router->post('reverse', ['uses' => 'ApiController@reverse', 'as' => 'strings.reverse']);
});
Save a good 7 bytes
Save a good 7 bytes
