An open API service indexing awesome lists of open source software.

https://github.com/tempestphp/view-for-laravel

Laravel support for tempest/view
https://github.com/tempestphp/view-for-laravel

engine php tempest template

Last synced: 11 months ago
JSON representation

Laravel support for tempest/view

Awesome Lists containing this project

README

          





Laravel support for tempest/view


Bringing tempest/view to Laravel.


Read the documentation to get started.




## Installation

You can install the package via composer:

```bash
composer require tempest/view-for-laravel
```

## Usage

From any controller, simply return an instance of `\Tempest\ViewForLaravel\TempestView`:

```php
use Tempest\ViewForLaravel\GenericTempestView;

final readonly class HomeController
{
public function __invoke()
{
return new GenericTempestView(__DIR__ . '/Views/home.view.php');
}
}
```

```html

Hello Laravel



Tempest View




```