PHPackages                             ronaldcastillo/feedly-api - 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. ronaldcastillo/feedly-api

ActiveLibrary

ronaldcastillo/feedly-api
=========================

PHP wrapper around Feedly's REST API

1.1(11y ago)043MITPHP

Since Aug 4Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ronaldcastillo/feedly-api)[ Packagist](https://packagist.org/packages/ronaldcastillo/feedly-api)[ Docs](https://github.com/stakisko/feedly-api)[ RSS](/packages/ronaldcastillo-feedly-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

**NOTICE** You can find the first edition of my code here [dev](https://github.com/stakisko/feedly-api/tree/legacy)

feedly-api
==========

[](#feedly-api)

PHP wrapper around [Feedly's REST API](http://developer.feedly.com/).

**Under Construction! Not every API's functionality implemented yet.**

[![Build Status](https://camo.githubusercontent.com/a6ba86834067b9f10a92963f7971c4aa08e4700841eb995df9e3e5982fb237d0/68747470733a2f2f7472617669732d63692e6f72672f6b626172696f7469732f666565646c792d6170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/stakisko/feedly-api)

Notes
-----

[](#notes)

Check the [examples](https://github.com/stakisko/feedly-api/blob/master/example) before anything.

If you are working in Sandbox mode of Feedly's API you should know a couple of things.

- Your Client's ID, secret must taken from [here](https://groups.google.com/forum/#!topic/feedly-cloud/a_cGSAzv8bY), which is updated very often so be sure to check it once in while.
- While in Sandbox mode, only "" is permited for callback url. So leave it as is and just replace it every time with your domain, if it's different. You can also add you own to permitted domains [here](https://groups.google.com/forum/#!topic/feedly-cloud/vSo0DuShvDg/discussion).
- Once you've done developing you can contact Feedly and ask them to put you on [production](http://developer.feedly.com/v3/sandbox/).

Instalation
-----------

[](#instalation)

Add this to your composer.json

```
"require": {
        "kbariotis/feedly-api": "dev-master"
    }

```

Or download the [ZIP](https://github.com/stakisko/feedly-api/archive/master.zip).

Documentation
-------------

[](#documentation)

**Constructor:**

```
$sandbox=FALSE;
$storeAccessTokenToSession=TRUE;

$feedly = new Feedly($sandbox, $storeAccessTokenToSession);
```

**Authentication:**

Check the [example](https://github.com/stakisko/feedly-api/blob/master/example/authentication.php).

Note that not every Feedly actions need authentication. Passing a token is optional.

**Endpoints**

[Profile:](http://developers.feedly.com/v3/profile/)

```
    $profile = $feedly->getEndpoint('Profile');

    var_dump($profile->fetch());

    $profile->setOptions(array(
        'email'=>'odysseus@ithaca.gr'
    ));

    $profile->persist();
```

[Categories:](http://developers.feedly.com/v3/categories/)

```
    $categories = $feedly->getEndpoint('Categories');

    var_dump($categories->fetch());

    $categories->changeLabel($id, 'New Label');

    $categories->delete($id);
```

[Entries:](http://developers.feedly.com/v3/entries/)

```
    $entries = $feedly->getEndpoint('Entries');

    var_dump($entries->get($id));
```

[Streams:](http://developers.feedly.com/v3/streams/)

```
    $streams = $feedly->getEndpoint('Streams');

    //Retrieve ids from stream
    var_dump($stream->get($id,"ids"));

    //Retrieve contents from stream
    var_dump($stream->get($id,"contents"));
```

[Markers:](http://developers.feedly.com/v3/markers/)

```
    $markers = $feedly->getEndpoint('Markers');

    var_dump($markers->get($id));

    var_dump($markers->getUnreadCount());

    $markers->markArticleAsRead(array(
        'TSxGHgRh4oAiHxRU9TgPrpYvYVBPjipkmUVSHGYCTY0=_14499073085:c034:d32dab1f',
        'TSxGHgRh4oAiHxRU9TgPrpYvYVBPjipkmUVSHGYCTY0=_1449255d60a:22c3491:9c6d71ab'
    ));

    $markers->markArticleAsUnread(array(
        'TSxGHgRh4oAiHxRU9TgPrpYvYVBPjipkmUVSHGYCTY0=_14499073085:c034:d32dab1f',
        'TSxGHgRh4oAiHxRU9TgPrpYvYVBPjipkmUVSHGYCTY0=_1449255d60a:22c3491:9c6d71ab'
    ));

    $markers->markFeedAsUnread(array(
        'feed/http://feeds.feedburner.com/design-milk'
    ));

    $markers->markFeedAsUnread(array(
        'user/c805fcbf-3acf-4302-a97e-d82f9d7c897f/category/design',
        'user/c805fcbf-3acf-4302-a97e-d82f9d7c897f/category/photography'
    ));
```

Contribute
----------

[](#contribute)

- Create a branch
- Add your models [here](src/feedly/Models)
- Run tests with `phpunit`
- Make a Pull Request

Licence
-------

[](#licence)

```
The MIT License (MIT)

Copyright (c) 2014 Konstantinos Bariotis

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 79.7% 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 ~23 days

Total

4

Last Release

4230d ago

Major Versions

0.2 → 1.02014-10-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/f3637413fc96bf00bdf86b9515b937ba0244e9a20fe644bd9f3fdef721bfc78e?d=identicon)[ronaldcastillo](/maintainers/ronaldcastillo)

---

Top Contributors

[![kbariotis](https://avatars.githubusercontent.com/u/605742?v=4)](https://github.com/kbariotis "kbariotis (63 commits)")[![ronaldcastillo](https://avatars.githubusercontent.com/u/2471622?v=4)](https://github.com/ronaldcastillo "ronaldcastillo (8 commits)")[![WesWedding](https://avatars.githubusercontent.com/u/521813?v=4)](https://github.com/WesWedding "WesWedding (7 commits)")[![kevinschenkers](https://avatars.githubusercontent.com/u/1161005?v=4)](https://github.com/kevinschenkers "kevinschenkers (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ronaldcastillo-feedly-api/health.svg)

```
[![Health](https://phpackages.com/badges/ronaldcastillo-feedly-api/health.svg)](https://phpackages.com/packages/ronaldcastillo-feedly-api)
```

PHPackages © 2026

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