2017 © Pedro Peláez
 

library yii2-latest-news-widget

Yii2-Start Latest News Widget

image

nill/yii2-latest-news-widget

Yii2-Start Latest News Widget

  • Sunday, November 16, 2014
  • by Mefistophell
  • Repository
  • 1 Watchers
  • 0 Stars
  • 31 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2-Start Latest News Widget

Latest News Widget for Yii2-Start application. Displays a set number the latest blog posts., (*1)

Requirements

This module is used with Yii2-Start application yii2-start., (*2)

Installation

Install via Composer

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require nill/yii2-latest-news-widget "dev-master"

or add, (*5)

"nill/yii2-latest-news-widget": "dev-master"

to the require section of your composer.json file., (*6)

Install from an Archive File

Download and extract the zip-file into the folder with your project, (*7)

/my/path/to/yii2-start/vendor/nill/yii2-latest-news-widget

Configuration

  • Add module to extensions "vendor\yiisoft\extensions.php":
'nill/widget-latest-news' => 
array (
    'name' => 'nill/yii2-latest-news-widget',
    'version' => '0.1.0.0',
    'alias' => 
    array (
        '@nill/widgetapn' => $vendorDir . '/nill/yii2-latest-news-widget',
    ),
),

Usage

<?= Widgetapn::widget([
    'limit' =>2 // limit of displayed news
]) ?>

The Versions

16/11 2014

dev-master

9999999-dev

Yii2-Start Latest News Widget

  Sources   Download

by Nill Mefistophell