PHPackages                             cvo-technologies/cakephp-twitter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. cvo-technologies/cakephp-twitter

ActiveCakephp-plugin[API Development](/categories/api)

cvo-technologies/cakephp-twitter
================================

CakePHP webservice implementation for Twitter

1.2.0(9y ago)188.5k↓33.3%2[1 issues](https://github.com/cvo-technologies/cakephp-twitter/issues)[1 PRs](https://github.com/cvo-technologies/cakephp-twitter/pulls)MITPHP

Since Feb 14Pushed 8y ago3 watchersCompare

[ Source](https://github.com/cvo-technologies/cakephp-twitter)[ Packagist](https://packagist.org/packages/cvo-technologies/cakephp-twitter)[ RSS](/packages/cvo-technologies-cakephp-twitter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (8)Used By (0)

Twitter plugin
==============

[](#twitter-plugin)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.txt)[![Build Status](https://camo.githubusercontent.com/ce9771cfadd5e334a91cbad2c55ba4881b3e9b4b1ce656abd63a91e33996fc13/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f43564f2d546563686e6f6c6f676965732f63616b657068702d747769747465722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/CVO-Technologies/cakephp-twitter)[![Coverage Status](https://camo.githubusercontent.com/e1489191990d03cf84202f8d40eb6fb6dcbd0211023dd480c1274a7a03ccd8b0/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f63766f2d746563686e6f6c6f676965732f63616b657068702d747769747465722e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/cvo-technologies/cakephp-twitter)[![Total Downloads](https://camo.githubusercontent.com/8224c8f196987dcd82dde35969c6e4a775749fa908c5f34dc4d760e10731f17d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63766f2d746563686e6f6c6f676965732f63616b657068702d747769747465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cvo-technologies/cakephp-twitter)[![Latest Stable Version](https://camo.githubusercontent.com/aefcac632f13e2088a427095f1be0f2531609f2d6216e5148064757905d1fff2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63766f2d746563686e6f6c6f676965732f63616b657068702d747769747465722e7376673f7374796c653d666c61742d737175617265266c6162656c3d737461626c65)](https://packagist.org/packages/cvo-technologies/cakephp-twitter)

Installation
------------

[](#installation)

### Using Composer

[](#using-composer)

```
composer require cvo-technologies/cakephp-twitter

```

Ensure `require` is present in `composer.json`:

```
{
    "require": {
        "cvo-technologies/cakephp-twitter": "~1.1"
    }
}
```

### Load the plugin

[](#load-the-plugin)

```
Plugin::load('Muffin/Webservice', ['bootstrap' => true]);
Plugin::load('CvoTechnologies/Twitter');
```

### Configure the Twitter webservice

[](#configure-the-twitter-webservice)

Add the following to the `Datasources` section of your application config.

```
        'twitter' => [
            'className' => 'Muffin\Webservice\Connection',
            'service' => 'CvoTechnologies/Twitter.Twitter',
            'consumerKey' => '',
            'consumerSecret' => '',
            'oauthToken' => '',
            'oauthSecret' => ''
        ]
```

Usage
-----

[](#usage)

### Controller

[](#controller)

```
namespace App\Controller;

use Cake\Event\Event;

class StatusesController extends AppController
{
    public function beforeFilter(Event $event)
    {
        $this->loadModel('CvoTechnologies/Twitter.Statuses', 'Endpoint');
    }

    public function index()
    {
        $statuses = $this->Statuses->find()->where([
            'screen_name' => 'CakePHP',
        ]);

        $this->set('statuses', $statuses);
    }
}
```

### Streaming example

[](#streaming-example)

This is an example of how to implement the Twitter streaming API.

```
namespace App\Shell;

use Cake\Console\Shell;

class StreamShell extends Shell
{
    public function initialize()
    {
        $this->modelFactory('Endpoint', ['Muffin\Webservice\Model\EndpointRegistry', 'get']);
        $this->loadModel('CvoTechnologies/Twitter.Statuses', 'Endpoint');
    }

    public function main()
    {
        $statuses = $this->Statuses
            ->find('filterStream', [
                'word' => 'twitter',
            ]);

        foreach ($statuses as $status) {
            echo $status->text . PHP_EOL;
        }
    }
}
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~45 days

Total

5

Last Release

3563d ago

Major Versions

0.1 → 1.0.02016-02-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/2dcb01f9c72b6700d2afaea75ac0193d2243ea2c0631b6e2af3ea961808dcc30?d=identicon)[Marlinc](/maintainers/Marlinc)

---

Top Contributors

[![Marlinc](https://avatars.githubusercontent.com/u/1240253?v=4)](https://github.com/Marlinc "Marlinc (59 commits)")

---

Tags

cakephpcakephp-webservicetwitter

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cvo-technologies-cakephp-twitter/health.svg)

```
[![Health](https://phpackages.com/badges/cvo-technologies-cakephp-twitter/health.svg)](https://phpackages.com/packages/cvo-technologies-cakephp-twitter)
```

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
