Download the PHP package uthando-cms/uthando-twitter without Composer

On this page you can find all versions of the php package uthando-cms/uthando-twitter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package uthando-twitter

Uthando Twitter Zend Framework 2 Module


Build Status Test Coverage Code Climate Dependency Status Packagist

This Module it designed to work with Uthando CMS, but can work indepentently too. In this release I have included a twitter feed view helper at the moment this is all this module does, I do hope to add more funtionality later.

Installation

To install this module add to your composer require section

"uthando-cms/uthando-twitter" : "1.*"

or on the command line in your project root

php composer.phar require uthando-cms/uthando-twitter:1.*

or if you have composer installed globally

composer require uthando-cms/uthando-twitter:1.*

Features

Usage

Once installed you have to add 'UthandoTwitter' to your 'modules' section of your app 'application.config.php' file.

To get started, first you’ll need to either create a new application with Twitter, or get the details of an existing one you control. To do this:

Copy the file in config folder 'twitter.local.php.dist' to your root config/autoload folder and rename it to 'twitter.local.php' then fill in the OAuth setting you get from your new twitter app. Also in the 'options' section you need to add your twitter screen name and user name.

In the view folder I have included a sample view partial so you can have an idea of how the feed works, to do this copy the contents of the public folder to your apps public folder.

The example uses Twitter Bootstrap 3 so be sure to include this. For example in your layout.phtml file add these lines to your head section:

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" media="screen,print" rel="stylesheet" type="text/css">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css" media="screen,print" rel="stylesheet" type="text/css">

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>

Now in your view script you can add

<div id="twitter-feed" class="col-md-4">

</div>

This will pull the stream down and display it.

Contributing

If you want more features or just want to help me out why not fork this repository and send me a pull request Any bugs please submit an issue.


All versions of uthando-twitter with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
uthando-cms/uthando-common Version 2.*
zendframework/zendoauth Version dev-master
zendframework/zendservice-twitter Version >=2.1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package uthando-cms/uthando-twitter contains the following files

Loading the files please wait ....