PHPackages                             icybee/module-views - 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. icybee/module-views

ActiveIcanboogie-module[Templating &amp; Views](/categories/templating)

icybee/module-views
===================

Allows dynamic data from modules to be displayed in content zones.

v3.0.0(9y ago)16211BSD-3-ClausePHPPHP ^5.5|^7.0

Since Mar 30Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Icybee/module-views)[ Packagist](https://packagist.org/packages/icybee/module-views)[ RSS](/packages/icybee-module-views/feed)WikiDiscussions master Synced 2mo ago

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

Views [![Build Status](https://camo.githubusercontent.com/b8f9c152f98fb250340b6dffbf454bdb349ec773e0e09ca1900cd34ba9458a4a/68747470733a2f2f7472617669732d63692e6f72672f4963796265652f6d6f64756c652d76696577732e7376673f6272616e63683d322e31)](https://travis-ci.org/Icybee/module-views)
========================================================================================================================================================================================================================================================================================

[](#views-)

The Views module (`views`) allows dynamic data from modules to be displayed in content zones.

Modules usually define three view types: `home`, `list` and `view`. The `home` view displays a small number of records on an home page. The `list` view displays a list of records and comes with a pagination to browse through older or newer records. Finally, the `view` view displays the detail of a record.

Events
------

[](#events)

### Views were collected

[](#views-were-collected)

The `Icybee\Modules\Views\Collection::collect` event of class [Collection\\CollectEvent](http://icybee.org/docs/class-Icybee.Modules.Views.Collection.CollectEvent.html) is fired after the views defined by the enabled modules have been collected. Event hooks may used this event to alter the collection.

### Records fetched by the provided are altered

[](#records-fetched-by-the-provided-are-altered)

The `Icybee\Modules\Views\View::alter_records:before` event of class [View\\BeforeAlterRecords](http://icybee.org/docs/class-Icybee.Modules.Views.View.BeforeAlterRecords.html)is fired before the records fetched by the provider are altered by the `alter_records` method of the view. The `Icybee\Modules\Views\View::alter_records` event of class [View\\AlterRecords](http://icybee.org/docs/class-Icybee.Modules.Views.View.AlterRecords.html)is fired after the `alter_records` method was called. Event hooks may use these events to alter the records.

Events callbacks
----------------

[](#events-callbacks)

### `Icybee\Modules\Pages\SaveOperation::process`

[](#icybeemodulespagessaveoperationprocess)

Updates the target page of a view.

Prototype methods
-----------------

[](#prototype-methods)

### `Icybee\Modules\Nodes\Node::url`

[](#icybeemodulesnodesnodeurl)

Returns the relative URL of a record for the specified view type.

### `Icybee\Modules\Nodes\Node::absolute_url`

[](#icybeemodulesnodesnodeabsolute_url)

Returns the URL of a record for the specified view type.

### `Icybee\Modules\Nodes\Node::get_url`

[](#icybeemodulesnodesnodeget_url)

Returns the relative URL of a record.

### `Icybee\Modules\Node::get_absolute_url`

[](#icybeemodulesnodeget_absolute_url)

Returns the URL of a record.

### `Icybee\Modules\Sites\Site::resolve_view_target`

[](#icybeemodulessitessiteresolve_view_target)

Returns the target page associated with a view.

### `Icybee\Modules\Sites\Site::resolve_view_url`

[](#icybeemodulessitessiteresolve_view_url)

Returns the URL of a view.

### `ICanBoogie\Core::get_views`

[](#icanboogiecoreget_views)

Returns the view collection.

Markups
-------

[](#markups)

### call-view

[](#call-view)

Displays a view.

```
Last articles

```

---

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

[](#requirement)

The package requires PHP 5.5 or later.

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

[](#installation)

The recommended way to install this package is through [Composer](http://getcomposer.org/). Create a `composer.json` file and run `php composer.phar install` command to install it:

```
$ composer require icybee/module-views

```

Note: This module is part of the modules required by [Icybee](http://icybee.org).

### Cloning the repository

[](#cloning-the-repository)

The package is [available on GitHub](https://github.com/Icybee/module-views), its repository can be cloned with the following command line:

```
$ git clone https://github.com/Icybee/module-views views

```

Testing
-------

[](#testing)

The test suite is ran with the `make test` command. [Composer](http://getcomposer.org/) is automatically installed as well as all the dependencies required to run the suite. The package directory can later be cleaned with the `make clean` command.

The package is continuously tested by [Travis CI](http://about.travis-ci.org/).

[![Build Status](https://camo.githubusercontent.com/b8f9c152f98fb250340b6dffbf454bdb349ec773e0e09ca1900cd34ba9458a4a/68747470733a2f2f7472617669732d63692e6f72672f4963796265652f6d6f64756c652d76696577732e7376673f6272616e63683d322e31)](https://travis-ci.org/Icybee/module-views)

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

[](#documentation)

The package is documented as part of the [Icybee](http://icybee.org/) CMS [documentation](http://icybee.org/docs/). The documentation for the package and its dependencies can be generated with the `make doc` command. The documentation is generated in the `docs` directory using [ApiGen](http://apigen.org/). The package directory can later by cleaned with the `make clean` command.

License
-------

[](#license)

The module is licensed under the New BSD License - See the [LICENSE](LICENSE) file for details.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

4

Last Release

1760d ago

Major Versions

v2.1.0 → v3.0.02016-05-24

v3.0.0 → 4.0.x-dev2021-07-19

PHP version history (4 changes)v2.0.0PHP &gt;=5.3.0

v2.1.0PHP &gt;=5.5.0

v3.0.0PHP ^5.5|^7.0

4.0.x-devPHP &gt;=5.6

### Community

Maintainers

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

---

Top Contributors

[![olvlvl](https://avatars.githubusercontent.com/u/155998?v=4)](https://github.com/olvlvl "olvlvl (29 commits)")

---

Tags

view

### Embed Badge

![Health badge](/badges/icybee-module-views/health.svg)

```
[![Health](https://phpackages.com/badges/icybee-module-views/health.svg)](https://phpackages.com/packages/icybee-module-views)
```

###  Alternatives

[eftec/bladeone

The standalone version Blade Template Engine from Laravel in a single php file

8208.4M87](/packages/eftec-bladeone)[laracasts/presenter

Simple view presenters

8643.4M46](/packages/laracasts-presenter)[jenssegers/blade

The standalone version of Laravel's Blade templating engine for use outside of Laravel.

8661.2M109](/packages/jenssegers-blade)[backpack/generators

Generate files for laravel projects

3122.6M18](/packages/backpack-generators)[laminas/laminas-view

Fast and type safe HTML templating library with a flexible plugin system supporting multistep template composition

7526.3M230](/packages/laminas-laminas-view)[friendsofcake/cakephp-csvview

A CSV View class for CakePHP

1762.5M3](/packages/friendsofcake-cakephp-csvview)

PHPackages © 2026

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