PHPackages                             soflomo/prototype - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. soflomo/prototype

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

soflomo/prototype
=================

Small module to start fast prototyping of html pages in Zend Framework 2

v0.2.0(12y ago)8233[2 issues](https://github.com/Soflomo/Prototype/issues)1BSD-3-ClausePHPPHP &gt;=5.3.3.

Since Mar 5Pushed 12y ago4 watchersCompare

[ Source](https://github.com/Soflomo/Prototype)[ Packagist](https://packagist.org/packages/soflomo/prototype)[ Docs](https://github.com/Soflomo/Prototype)[ RSS](/packages/soflomo-prototype/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (1)

Soflomo\\Prototype
==================

[](#soflomoprototype)

`Soflomo\Prototype` is a small module that helps developers to start creating prototypes of their application. The module aims to create various pages fast and only worry about urls and view templates. Because of its simple goals, frontend developers not experienced with php can create mockups of their designs as well.

Simply said, it allows you to create a mapping between urls and view templates, so websites with a couple of pages are extremely easy to create. Every page has a name, so it is possible to link between pages with the Zend Framework 2 `url()` view helper.

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

[](#installation)

`Soflomo\Prototype` is available through composer. Add "soflomo/prototype" to your composer.json list. During development of `Soflomo\Prototype`, you can specify the latest available version:

```
"soflomo/prototype": "dev-master"

```

Enable the module in your `config/application.config.php` file. Add an entry `Soflomo\Prototype` to the list of enabled modules.

Usage
-----

[](#usage)

The recommended method is to create a module to hold all the mockup view scripts and the configuration of pages. For example, you call this module `Mockups`.

### Create mockup module

[](#create-mockup-module)

Create a directory `Mockup` inside the `module` directory. Create a file `Module.php` inside this `module/Mockup` directory with the following contents:

```
