PHPackages                             marcolamr/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. marcolamr/view

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

marcolamr/view
==============

A simple view component.

v1.0.0(3y ago)02MITPHPPHP &gt;=8.1

Since Sep 2Pushed 3y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

View Library
============

[](#view-library)

[![Maintainer](https://camo.githubusercontent.com/e1f1c6b2747f5dc2869eb0cd83ca2332814f3400a2ebf417222968ae345becf7/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d406d6172636f6c616d722d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/marcolamr)[![Source Code](https://camo.githubusercontent.com/4d8c445afc44b48c6dd93d247df757c876f23feb3cf1f08b7535d0877675e8ac/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6d6172636f6c616d722f766965772d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/marcolamr/view)[![PHP from Packagist](https://camo.githubusercontent.com/2d2985d6e44758bea60ea411e72729c004193b58bca8565e755d0df96b4ec131/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d6172636f6c616d722f766965772e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marcolamr/view)[![Latest Version](https://camo.githubusercontent.com/d9dfdedb3e61f9940a672c284f4d9b73191c1276f449156fcebf1c25a80a0ca8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6d6172636f6c616d722f766965772e7376673f7374796c653d666c61742d737175617265)](https://github.com/marcolamr/view/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build](https://camo.githubusercontent.com/bc7e7f58276040e06a6b0b8f75d88cccbf29ba273b62cdf3cab01937a0befed5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f6d6172636f6c616d722f766965772e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/marcolamr/view)[![Quality Score](https://camo.githubusercontent.com/774ed545dcb100cdd375060d559280620b30292d060ed9e67c284c03c3357968/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6d6172636f6c616d722f766965772e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/marcolamr/view)[![Total Downloads](https://camo.githubusercontent.com/410e9e15db1e6e14b4189cbeb3d139b5ce739395816e21813864c1894ca754ff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6172636f6c616d722f766965772e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marcolamr/view)

###### Small, simple and uncomplicated. The view is a PHP view component with abstraction for MVC.

[](#small-simple-and-uncomplicated-the-view-is-a-php-view-component-with-abstraction-for-mvc)

Pequeno, simples e descomplicado. O view é um componente de views PHP com abstração para MVC.

### Highlights

[](#highlights)

- Simple installation (Instalação simples)
- Composer ready and PSR-2 compliant (Pronto para o composer e compatível com PSR-2)

Installation
------------

[](#installation)

View is available via Composer:

```
"marcolamr/view": "^1.0"
```

or run

```
composer require marcolamr/view
```

Documentation
-------------

[](#documentation)

###### For details on how to use, see a sample folder in the component directory. In it you will have an example of use for each class. It works like this:

[](#for-details-on-how-to-use-see-a-sample-folder-in-the-component-directory-in-it-you-will-have-an-example-of-use-for-each-class-it-works-like-this)

Para mais detalhes sobre como usar, veja uma pasta de exemplo no diretório do componente. Nela terá um exemplo de uso para cada classe. Ele funciona assim:

#### Getting Started:

[](#getting-started)

```
