PHPackages                             vinelab/flickr - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vinelab/flickr

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vinelab/flickr
==============

Utility package that fetches and parses Flickr Feeds and Photosets based on URL

v0.1.3(13y ago)117MITPHPPHP &gt;=5.4.0

Since Jun 3Pushed 12y ago1 watchersCompare

[ Source](https://github.com/Vinelab/flickr)[ Packagist](https://packagist.org/packages/vinelab/flickr)[ RSS](/packages/vinelab-flickr/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (5)Used By (0)

Vinelab - Flickr Agent
----------------------

[](#vinelab----flickr-agent)

[![build status](https://camo.githubusercontent.com/585263b516c3506a3b9578977041495537dcf8f31a39786434b801b3b220ec82/68747470733a2f2f7472617669732d63692e6f72672f56696e656c61622f666c69636b722e706e673f6272616e63683d6d6173746572 "build status")](https://camo.githubusercontent.com/585263b516c3506a3b9578977041495537dcf8f31a39786434b801b3b220ec82/68747470733a2f2f7472617669732d63692e6f72672f56696e656c61622f666c69636b722e706e673f6272616e63683d6d6173746572)

[![Codeship build status](https://camo.githubusercontent.com/0531608ec57f2a7c50b060c7230e8040a2edcb5b0fed42b3ce545578b3510180/68747470733a2f2f7777772e636f6465736869702e696f2f70726f6a656374732f30343632626235302d633937652d303133312d656564642d3736326664333934616634372f737461747573)](https://camo.githubusercontent.com/0531608ec57f2a7c50b060c7230e8040a2edcb5b0fed42b3ce545578b3510180/68747470733a2f2f7777772e636f6465736869702e696f2f70726f6a656374732f30343632626235302d633937652d303133312d656564642d3736326664333934616634372f737461747573)

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

[](#installation)

Refer to [vinelab/flickr on packagist.org](https://packagist.org/packages/vinelab/flickr) for composer installation instructions.

Edit **app.php** and add `'Vinelab\Flickr\FlickrServiceProvider',` to the `'providers'` array.

It will automatically alias itself as **Flickr** so no need to alias it in your **app.php** unless you would like to customize it. In that case edit your **'aliases'** in **app.php** adding ` 'MyFlickr'	  => 'Vinelab\Flickr\Facades\Flickr',`

Usage
-----

[](#usage)

### Fetch Feed

[](#fetch-feed)

```
$feed = Flickr::fetch('feed://api.flickr.com/services/feeds/photos_public.gne?nsid=54738376@N04&lang=en-us&format=rss_200');

// Result
object(Vinelab\Flickr\Feed)[144]
  public 'title' => string 'Uploads from Dan Chippendale' (length=28)
  public 'url' => string 'http://www.flickr.com/photos/danchippendale/' (length=44)
  public 'description' => string '' (length=0)
  public 'image' => string 'http://farm8.staticflickr.com/7442/buddyicons/54738376@N04.jpg?1369125163#54738376@N04' (length=86)
  public 'id' => string '/photos/public/54706237' (length=23)
  public 'photos' =>
    array (size=20)
      0 =>
        object(Vinelab\Flickr\Photo)[146]
          public 'id' => string '/photo/8922527151' (length=17)
          public 'title' => string 'A touch of the Alps in Bromley' (length=30)
          public 'url' => string 'http://www.flickr.com/photos/danchippendale/8922527151/' (length=55)
          public 'width' => string '1024' (length=4)
          public 'height' => string '526' (length=3)
      1 =>
        object(Vinelab\Flickr\Photo)[147]
          public 'id' => string '/photo/8915741362' (length=17)
          public 'title' => string 'Boys toys' (length=9)
          public 'url' => string 'http://www.flickr.com/photos/danchippendale/8915741362/' (length=55)
          public 'width' => string '681' (length=3)
          public 'height' => string '1024' (length=4)
    	  ....
```

### Fetch Photoset

[](#fetch-photoset)

```
$photoset = Flickr::fetch('http://www.flickr.com/photos/danchippendale/sets/72157633636679556/');

// Result
object(Vinelab\Flickr\Photoset)[144]
  public 'id' => string '72157633636679556' (length=17)
  public 'title' => string 'Dan Chippendale' (length=15)
  public 'photos' =>
    array (size=100)
      0 =>
        object(Vinelab\Flickr\Photo)[146]
          public 'id' => string '8757610350' (length=10)
          public 'title' => string 'To the sea!' (length=11)
          public 'url' => string 'http://farm4.staticflickr.com/3778/8757610350_737f9738d6.jpg' (length=60)
          public 'width' => string '5212' (length=4)
          public 'height' => string '3468' (length=4)
      1 =>
        object(Vinelab\Flickr\Photo)[147]
          public 'id' => string '8756483393' (length=10)
          public 'title' => string 'L1037144' (length=8)
          public 'url' => string 'http://farm3.staticflickr.com/2831/8756483393_7d83a4a564.jpg' (length=60)
          public 'width' => string '5212' (length=4)
          public 'height' => string '3468' (length=4)
          ....
```

TODO
----

[](#todo)

- **Photoset and Feed classes must iterate through all the result pages to include all the photos. i.e. The flickr result limit is around 100 and there's 500 photos in the set.**
- Improve tests by adding **failure** tests, currently only includes succeeding scenarios where the results are received as expected.
- Photo Class must do more like returning specified sizes of photos based on photo url i.e. `$photo->small();` and `$photo->medium();` etc.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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.

###  Release Activity

Cadence

Every ~1 days

Total

4

Last Release

4770d ago

PHP version history (2 changes)v0.1.0PHP &gt;=5.3.0

v0.1.2PHP &gt;=5.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4564469?v=4)[Sociata](/maintainers/Vinelab)[@Vinelab](https://github.com/Vinelab)

---

Top Contributors

[![Mulkave](https://avatars.githubusercontent.com/u/2647333?v=4)](https://github.com/Mulkave "Mulkave (29 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vinelab-flickr/health.svg)

```
[![Health](https://phpackages.com/badges/vinelab-flickr/health.svg)](https://phpackages.com/packages/vinelab-flickr)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M337](/packages/psalm-plugin-laravel)[illuminate/events

The Illuminate Events package.

13557.0M2.1k](/packages/illuminate-events)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M273](/packages/illuminate-pipeline)[illuminate/session

The Illuminate Session package.

9939.3M829](/packages/illuminate-session)[illuminate/hashing

The Illuminate Hashing package.

6729.7M185](/packages/illuminate-hashing)

PHPackages © 2026

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