PHPackages                             humanized/yii2-scoop-it - 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. humanized/yii2-scoop-it

ActiveYii2-extension

humanized/yii2-scoop-it
=======================

scoop it function

092PHP

Since Jan 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/humanized/yii2-scoop-it)[ Packagist](https://packagist.org/packages/humanized/yii2-scoop-it)[ RSS](/packages/humanized-yii2-scoop-it/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Scoop.it - README
======================

[](#yii2-scoopit---readme)

[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](http://www.yiiframework.com/)

This package proposes a data model for importing and synchronising content locally managed through Scoop.it account

Features
--------

[](#features)

Dependencies
------------

[](#dependencies)

This package relies on Guzzle version 6.x.

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

[](#installation)

### Install Using Composer

[](#install-using-composer)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
$ php composer.phar require humanized/yii2-scoop-it "dev-master"

```

or add

```
"humanized/yii2-scoop-it": "dev-master"

```

to the `require` section of your `composer.json` file.

### Add Module to Configuration

[](#add-module-to-configuration)

Add following lines to the configuration file for minimum integration:

```
'modules' => [
    'scoopit' => [
        'class' => 'humanized\scoopit\ScoopIt',
    ],
],
```

Further information about module configuration can be found on the [CONFIG](CONFIG.md)-file of this repository.

### Run Migrations

[](#run-migrations)

```
$ php yii migrate/up --migrationPath=@vendor/humanized/yii2-scoop-it/migrations
```

Setup Scoop.it Credentials
--------------------------

[](#setup-scoopit-credentials)

Account credentials are stored as local parameters, e.g. storing them in common/config/params-local: Note, these credentials are personal and should never be stored on a public software repository!

```
'params' => [
    'scoopit' =>
    [
        // Scoop.it API account base url here (suffixed with /api/1)
        'remoteUri' => 'https://acme-corp.scoop.it/api/1/',
        // Scoop.it Consumer Key/Secret (allows anonymous mode and mandatory for authenticated mode)
        'consumerKey' => '',
        'consumerSecret' => '',
        // URL root of local website instance, used for three-legged authententication callback
         'authorisationCallbackUri' => "path-to-website",
        // Scoop.it Consumer Key/Secret (mandatory for authenticated mode)
        'token' => '',
        'tokenSecret' => '',
    ],
],
```

The OAuth consumer key-secret combination can be obtained, after Scoop.it account login, on the [Scoop.it Account Application Management Page](https://www.scoop.it/dev/apps)

Configuration of these details allow the client to interact with the remote Scoop.it account in the restricted anonymous mode, offering (partial) read-only access to the remote account.

To enable authenticated mode which provides maximal access to the remote account , a three-legged OAuth authentication procedure is followed.

For this, an appropriate value is set for the authorisationCallbackUri, which must be set to the root path of the local instance. For example, should the local instance deployment have routes defined as , then the authorisationCallbackUri is set to ,

Once configured, the process for obtaining token and token secret values can be described as followed

*Leg #1*

From commandline, run following command from the application root.

```
$ php yii scoopit/oauth
```

The system subsequently displays an external URL to the remote Scoop.it account, and prompts the user for a verifier..

*Leg #2*

To obtain the authorisation verfier, follow the external link in a graphical browser, authorising application access by the local application instance to the remote Scoop.it account. Upon authorisation, a redirection occurs to the local instance, using the authorisationCallbackUrl setup earlier, displaying a (temporary) token and the verifier requested by the prompt.

*Leg #3*

Providing the verfier obtained in the previous leg in the prompt obtained in the first leg subsequently displays the token and token secret values, for local configuration setup

For verification purposes, run following command after setup is complete.

```
$ php yii scoopit/test
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a07fca5b8f6fe268961a6744dbfd2175da8c785f5e26b2edaeb552f9bbcabd2?d=identicon)[jeffrey.geyssens](/maintainers/jeffrey.geyssens)

---

Top Contributors

[![jeffrico](https://avatars.githubusercontent.com/u/3632182?v=4)](https://github.com/jeffrico "jeffrico (26 commits)")

### Embed Badge

![Health badge](/badges/humanized-yii2-scoop-it/health.svg)

```
[![Health](https://phpackages.com/badges/humanized-yii2-scoop-it/health.svg)](https://phpackages.com/packages/humanized-yii2-scoop-it)
```

PHPackages © 2026

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