PHPackages                             naingaunglwin-dev/view - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. naingaunglwin-dev/view

ActiveLibrary[Templating &amp; Views](/categories/templating)

naingaunglwin-dev/view
======================

A lightweight template rendering engine with optional custom view engine integration.

1.0.1(1y ago)010MITPHPPHP ^8.3

Since May 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/naingaunglwin-dev/view)[ Packagist](https://packagist.org/packages/naingaunglwin-dev/view)[ RSS](/packages/naingaunglwin-dev-view/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

Simple PHP View Library
=======================

[](#simple-php-view-library)

[![Status](https://camo.githubusercontent.com/75cfd67c34db7390edc5b60d61a351a236b4bb64bbe77728071a77eab2c2dfbb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f746573742d706173732d677265656e)](https://camo.githubusercontent.com/75cfd67c34db7390edc5b60d61a351a236b4bb64bbe77728071a77eab2c2dfbb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f746573742d706173732d677265656e)[![Status](https://camo.githubusercontent.com/0c967d746eb7f4fe28065a3b94d23faa207cd6f4a968535b20fce0310a87cf89/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d3130302532352d677265656e)](https://camo.githubusercontent.com/0c967d746eb7f4fe28065a3b94d23faa207cd6f4a968535b20fce0310a87cf89/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d3130302532352d677265656e)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)

Contributing
------------

[](#contributing)

- This is an open-source library, and contributions are welcome.
- If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request on the project repository.

Requirement
-----------

[](#requirement)

- **PHP** version 8.0 or newer is required

Installation &amp; Setup
------------------------

[](#installation--setup)

- You can just download the code from repo and use or download using composer.

### Download Using Composer

[](#download-using-composer)

- If you don't have composer, install [composer](https://getcomposer.org/download/) first.
- create file `composer.json` at your project root directory.
- Add this to `composer.json`

```
{
  "require": {
    "naingaunglwin-dev/view": "^1.0"
  }
}
```

- Run the following command in your terminal from the project's root directory:

```
composer install
```

- Or just run `composer require naingaunglwin-dev/view` in terminal.

Usage
-----

[](#usage)

- In your php file,

```
