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

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

idealogica/good-view
====================

Extremely simple and standard compliant view implementation of MVC pattern

1.0.4(4y ago)07671MITPHPPHP &gt;=7.1.0CI failing

Since Jun 5Pushed 4y agoCompare

[ Source](https://github.com/idealogica/good-view)[ Packagist](https://packagist.org/packages/idealogica/good-view)[ Docs](https://github.com/idealogica/good-view)[ RSS](/packages/idealogica-good-view/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (5)Versions (6)Used By (1)

GoodView - Extremely simple and standard compliant view implementation of MVC pattern
=====================================================================================

[](#goodview---extremely-simple-and-standard-compliant-view-implementation-of-mvc-pattern)

1. What is GoodView?
--------------------

[](#1-what-is-goodview)

It is a simple MVC view implementation. By default GoodView uses PHP as template engine but it can be adapted to use any. It supports PSR-7 stream rendering so it can be easily used in HTTP middleware. GoodView supports nested views and layout views.

2. Installation
---------------

[](#2-installation)

```
composer require idealogica/good-view:~1.0.0

```

3. Basic example
----------------

[](#3-basic-example)

```
$viewFactory = ViewFactory::createStreamViewFactory(
    new StreamFactory(),
    ['content' => ''],
    [__DIR__ . '/templates']
);
$view = $viewFactory->create('test');
$stream = $view->render(); // StreamInterface instance
$contents = $stream->getContents(); // rendered string

```

templates/test.phtml:

```

```

templates/layout.phtml:

```
!!

```

4. License
----------

[](#4-license)

GoodView is licensed under a [MIT License](https://opensource.org/licenses/MIT).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~198 days

Total

5

Last Release

1737d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1dfe693e24f13322ee0ab1de94b76274aa9bedfd1f0951913c44a971ad8d4cb8?d=identicon)[idealogica](/maintainers/idealogica)

---

Top Contributors

[![idealogica](https://avatars.githubusercontent.com/u/15087194?v=4)](https://github.com/idealogica "idealogica (2 commits)")

---

Tags

psrphpviewrendererPHP7native

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/idealogica-good-view/health.svg)

```
[![Health](https://phpackages.com/badges/idealogica-good-view/health.svg)](https://phpackages.com/packages/idealogica-good-view)
```

###  Alternatives

[slim/php-view

Render PHP view scripts into a PSR-7 Response object.

2739.7M92](/packages/slim-php-view)[yiisoft/yii-view-renderer

PSR-7 compatible view renderer

1762.8k9](/packages/yiisoft-yii-view-renderer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
