2017 © Pedro Peláez
 

yii2-extension yii2-timeline-widget

Timeline/Telemetry Widget for Yii2

image

vivekmarakana/yii2-timeline-widget

Timeline/Telemetry Widget for Yii2

  • Friday, April 8, 2016
  • by vivekmarakana
  • Repository
  • 1 Watchers
  • 1 Stars
  • 373 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 1 Versions
  • 4 % Grown

The README.md

Yii2 Timeline Widget

Total Downloads Monthly Downloads License, (*1)

Timeline/Telemetry Widget for Yii2, (*2)

Installation

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

Either run, (*4)

php composer.phar require --prefer-dist vivekmarakana/yii2-timeline-widget "*"

or add, (*5)

"vivekmarakana/yii2-timeline-widget": "*"

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

Usage

Once the extension is installed, simply use it in your code by :, (*7)

title;
        $data['date'] = \Yii::$app->formatter->asDate(date("Y-m-d H:i:s", strtotime('+330 minutes', strtotime($post->published_at))), 'php:d M,Y');
        $data['time'] = \Yii::$app->formatter->asDate(date("Y-m-d H:i:s", strtotime('+330 minutes', strtotime($post->published_at))), 'php:h:i A');
        $data['notes'] = $post->summary;

        if(!is_null($post->postedBy)) {
            $data['subtitle'] = "By {$post->postedBy->name} - {$post->postedBy->bio}";
        }

        $items[] = $data;
    }
    \vivekmarakana\widgets\Timeline::widget(['items' => $items]);
?>

The Versions

08/04 2016

dev-master

9999999-dev

Timeline/Telemetry Widget for Yii2

  Sources   Download

MIT

The Requires

 

extension yii2 widget timeline telemetry