2017 © Pedro Peláez
 

library rhubarb-leaf-twitter-timeline

Provides a simple twitter feed

image

jamesanderson9182/rhubarb-leaf-twitter-timeline

Provides a simple twitter feed

  • Friday, September 30, 2016
  • by jamesanderson9182
  • Repository
  • 1 Watchers
  • 0 Stars
  • 26 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Module.Twitter-Timeline

Instalation

composer require rhubarbphp/module-twitter-timeline

Usage

<?php
use Rhubarb\Leaf\Views\View;

namespace Your\WebApp\Leaves;

class IndexView extends View
{
    protected function createSubLeaves()
        {
            parent::createSubLeaves();
            $this->registerSubLeaf(
              $twitter = new TwitterFeed("Twitter", "yourTwitterUsernameHere")
            );

            //Optional Settings
            $twitter->setLinkColor("#19CF86");
            $twitter->setHeight("250px");
            $twitter->setWidth("250px");
        }

        protected function printViewContent()
        {
            parent::printViewContent();
            print $this->leaves["Twitter"];
        }
}   

The Versions

30/09 2016

dev-master

9999999-dev https://github.com/jandersongcdtech/Module.Twitter-Timeline

Provides a simple twitter feed

  Sources   Download

Apache 2.0

The Requires

 

feed twitter rhubarb rhubarbphp