> For the complete documentation index, see [llms.txt](https://sprnva.gitbook.io/sprnva-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sprnva.gitbook.io/sprnva-docs/routing/multiple-parameters.md).

# multiple parameters

There's an instance that we need to pass a multiple parameter to our route. Just remember that the `{your-desired-name}` is strict and does not allow same `{your-desired-name}` in the defined uri. Then this is how we do it in sprnva.

```php
Route::get("/project/view/{id}/test/{userid}", ['ProjectController@view', ['auth']]);
```

Then the controller's method accepts the parameters.

```php
<?php

namespace App\Controllers;

class UsersController
{
    public function view($id, $userid){
        //code here
    }
}
```
