2017 © Pedro Peláez
 

zf2-module aist-insight

ZF2 View helper plugin for SensioLabsInsight.

image

aist/aist-insight

ZF2 View helper plugin for SensioLabsInsight.

  • Sunday, May 15, 2016
  • by aist
  • Repository
  • 1 Watchers
  • 0 Stars
  • 77 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

AistInsight SensioLabsInsight

ZF2 View helper plugin for SensioLabsInsight., (*1)

Build Status Total Downloads Reference Status Dependency Status Packagist Code Climate Scrutinizer Code Quality License, (*2)

Installation

Installation of this module uses composer. For composer documentation, please refer to getcomposer.org., (*3)

  1. Install the module via composer by running:, (*4)

    php composer.phar require aist/aist-insights
    

    or download it directly from github and place it in your application's module/ directory., (*5)

  2. Add the AistInsights module to the module section of your config/application.config.php, (*6)

Use

Required Insight project key., (*7)

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:, (*8)

<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., (*9)

Defaults: * badge_size big * linked true * secure true, (*10)

Checklist

  • [ ] Add tests

The Versions

15/05 2016

dev-master

9999999-dev http://mateuszsitek.com/projects/aist-insight

ZF2 View helper plugin for SensioLabsInsight.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

zf2 insight aist

15/05 2016

0.1.0

0.1.0.0 http://mateuszsitek.com/projects/aist-insight

ZF2 View helper plugin for SensioLabsInsight.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

zf2 insight aist