aist/aist-insight

ZF2 View helper plugin for SensioLabsInsight.

Maintainers

👁 aist

Package info

github.com/ma-si/aist-insight

Homepage

Type:zf2-module

pkg:composer/aist/aist-insight

Statistics

Installs: 102

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

0.1.0 2016-05-15 10:21 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause 2bba12d85aa2c412cf158f7e802ba5dd8a94d655

  • MaSi <webdeveloper.woop@mateuszsitek.com>

zf2insightaist

This package is not auto-updated.

Last update: 2026-06-27 05:17:16 UTC


README

ZF2 View helper plugin for SensioLabsInsight.

👁 Build Status
👁 Total Downloads
👁 Reference Status
👁 Dependency Status
👁 Packagist
👁 Code Climate
👁 Scrutinizer Code Quality
👁 License

Installation

Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.

  1. Install the module via composer by running:

    php composer.phar require aist/aist-insights

    or download it directly from github and place it in your application's module/ directory.

  2. Add the AistInsights module to the module section of your config/application.config.php

Use

Required Insight project key.

echo $this->insight('project_key', ['badge_size' => Insight::SIZE_BIG, 'linked' => true], ['class' => 'pull-right']);
echo $this->insight('project_key', [], ['class' => 'pull-right']);
echo $this->insight('project_key', Insight::OPTIONS, ['class' => 'pull-right']);

each one will render the HTML below:

<a href="https://insight.sensiolabs.com/projects/{project_key}">
<img src="https://insight.sensiolabs.com/projects/{project_key}/{size}.png" class="pull-right">
</a>

Available sizes: big, small, mini.

Defaults:

  • badge_size big
  • linked true
  • secure true

Checklist

  • Add tests