PHPackages                             stefanotorresi/my-pages - 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. [Framework](/categories/framework)
4. /
5. stefanotorresi/my-pages

AbandonedLibrary[Framework](/categories/framework)

stefanotorresi/my-pages
=======================

A brutal rip-off of the Zend Framework web site PageController module, written by Matthew Weier O'Phinney. All credit goes to him.

0.1.1(12y ago)044MITPHPPHP &gt;=5.4.1

Since Jul 29Pushed 12y ago2 watchersCompare

[ Source](https://github.com/stefanotorresi/MyPages)[ Packagist](https://packagist.org/packages/stefanotorresi/my-pages)[ Docs](https://github.com/stefanotorresi/MyPages)[ RSS](/packages/stefanotorresi-my-pages/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

MyPages
=======

[](#mypages)

[![Latest Stable Version](https://camo.githubusercontent.com/8ea8460f309e787ecabe2176aa4e1cf96fbff8e8e3be4014300e1c3f1388a491/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e6f746f72726573692f6d792d70616765732f762f737461626c652e706e67)](https://packagist.org/packages/stefanotorresi/my-pages)[![Latest Unstable Version](https://camo.githubusercontent.com/2b5962a67466a750b7bb5fb4bad1a6ec68ff73d92c2b057abc3e758ce5493fdb/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e6f746f72726573692f6d792d70616765732f762f756e737461626c652e706e67)](https://packagist.org/packages/stefanotorresi/my-pages)[![Build Status](https://camo.githubusercontent.com/cf99d32c423e9088739731e101c935677e88d3ff8d1ffcfeaa3b2841ad92be99/68747470733a2f2f7472617669732d63692e6f72672f73746566616e6f746f72726573692f4d7950616765732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/stefanotorresi/MyPages)[![Code Coverage](https://camo.githubusercontent.com/0dc8c1cbec5551851cbab8e221a14b8b7a4fe8d94bbf8086ef59e6b008605b75/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73746566616e6f746f72726573692f4d7950616765732f6261646765732f636f7665726167652e706e673f733d37396261613238363731346131623636626632366661653130363038643465663164633736623733)](https://scrutinizer-ci.com/g/stefanotorresi/MyPages/)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/5b26c53dc460b50f1d654e1e1522b9fe2e79dfc9a7c051a823e49e24825ee895/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73746566616e6f746f72726573692f4d7950616765732f6261646765732f7175616c6974792d73636f72652e706e673f733d66313665643639636362666337343162366663303964323633376163663031623562343233643139)](https://scrutinizer-ci.com/g/stefanotorresi/MyPages/)

MyPages is a very simple Zend Framework 2 module, providing a basic Controller that resolves view templates from the route.

Usage
-----

[](#usage)

1. Put your view templates inside the `pages` sub directory of a path registered as a `template_path_stack` with the [`ViewManager`](http://framework.zend.com/manual/2.2/en/modules/zend.view.quick-start.html#configuration).
2. Add your routes specifying `MyPages\PageController` as the controller and the template name as the `page` param:

```
   // somewhere in your router config
   'static-page-route' => [
       'type' => 'literal',
       'options' => [
           'route' => '/static-page'
           'defaults' => [
               'controller' => 'MyPages\PageController',
               'page' => 'static-page-template',
           ],
       ],
   ]
```

this will render the first resolved `pages/static-page-template` view when the route matches `/static-page`. Of course, you can use any other resolver config that works for you.

There are two settings you can change:

```
// somewhere in your autoloaded configs
'MyPages' => [
    'route_param_name' => 'page',
    'template_dir' => 'pages',
],
```

Credits
-------

[](#credits)

The module is just a brutal rip-off of the [Zend Framework web site PageController](//github.com/zendframework/zf-web/tree/master/module/PageController) module, written by [Matthew Weier O'Phinney](http://mwop.net). All credits go to him.

For a more complete module with functionalities like caching, check out [Matthew Weier O'Phinney](http://mwop.net)'s [PhlySimplePage module](//github.com/weierophinney/PhlySimplePage/).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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 ~105 days

Total

3

Last Release

4461d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbe15d47dd8509ff2f5b24bb02e4d271689242ab2e5608d0f67259e277491a9a?d=identicon)[stefanotorresi](/maintainers/stefanotorresi)

---

Top Contributors

[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

pagezendmodulezf2controller

### Embed Badge

![Health badge](/badges/stefanotorresi-my-pages/health.svg)

```
[![Health](https://phpackages.com/badges/stefanotorresi-my-pages/health.svg)](https://phpackages.com/packages/stefanotorresi-my-pages)
```

###  Alternatives

[webino/webino-image-thumb

Image Thumbnailer for Zend Framework 2

4079.0k](/packages/webino-webino-image-thumb)[melisplatform/melis-cms

Melis Platform CMS module

115.5k15](/packages/melisplatform-melis-cms)

PHPackages © 2026

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