> 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/views.md).

# Views

Sprnva is a MVC approach so we also have a Views where the beautiful stacks of graphical illustration is processed.

You will find the views at `app/views`. Views in sprnva have a naming convention, we added a `.view.php` in order for you to declare a more beautiful parameter using the `view()` helper. Example: `login.view.php`

Then this is how you declare a views inside the controller.

```php
<?php

namespace App\Controllers;

class UsersController
{
    public function index(){
        return view('/index');
    }
}
```
