PHPackages                             samwilson/phpflickr-cli - 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. [CLI &amp; Console](/categories/cli)
4. /
5. samwilson/phpflickr-cli

ActiveProject[CLI &amp; Console](/categories/cli)

samwilson/phpflickr-cli
=======================

A command line interface for Flickr.

0.5.0(1y ago)241[2 issues](https://github.com/samwilson/phpflickr-cli/issues)[1 PRs](https://github.com/samwilson/phpflickr-cli/pulls)GPL-3.0-or-laterPHPCI passing

Since Nov 15Pushed 3w ago1 watchersCompare

[ Source](https://github.com/samwilson/phpflickr-cli)[ Packagist](https://packagist.org/packages/samwilson/phpflickr-cli)[ RSS](/packages/samwilson-phpflickr-cli/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (12)Versions (16)Used By (0)

PhpFlickr CLI
=============

[](#phpflickr-cli)

This is a command-line interface (CLI) to Flickr, written in PHP, using the [samwilson/phpflickr](https://github.com/samwilson/phpflickr) library.

[![CI](https://github.com/samwilson/phpflickr-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/samwilson/phpflickr-cli/actions/workflows/ci.yml)

Features:

- Upload photos.
- Download photos by album or user.
- Add checksum machine tags (MD5 or SHA1).
- Internationalization.

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

[](#installation)

Get the code and install dependencies:

```
git clone https://github.com/samwilson/phpflickr-cli
cd phpflickr-cli
composer install --no-dev

```

Run the app:

```
./phpflickr-cli --help

```

Upgrading
---------

[](#upgrading)

```
cd /path/to/phpflickr-cli
git pull origin master
composer install --no-dev

```

Authorization
-------------

[](#authorization)

Just run `phpflickr-cli auth` and follow the prompts. This will create a `config.yml` file containing your access codes; keep it safe.

Downloading
-----------

[](#downloading)

To download photos, specify where you want them to end up and a template:

```
./phpflickr-cli download --dest= --template=

```

Download templates are sets of Twig template files, one for each of the following purposes: each photo; the path to each photo; and all photos (ordered by the path). Have a look at the included templates for more ideas on what they can do.

Checksums
---------

[](#checksums)

Add MD5 or SHA1 checksum machine tags to images:

```
./phpflickr-cli checksums --help

```

Requires authorization.

Kudos
-----

[](#kudos)

- Thanks to inspiration from [TheFox's flickr-cli](https://github.com/TheFox/flickr-cli).

License
-------

[](#license)

`GPL-3.0-or-later`

Copyright 2018 Sam Wilson. See [LICENSE.txt](LICENSE.txt) for details.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance48

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 95.2% 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 ~248 days

Recently: every ~394 days

Total

9

Last Release

701d ago

### Community

Maintainers

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

---

Top Contributors

[![samwilson](https://avatars.githubusercontent.com/u/213655?v=4)](https://github.com/samwilson "samwilson (40 commits)")[![tacman](https://avatars.githubusercontent.com/u/619585?v=4)](https://github.com/tacman "tacman (2 commits)")

---

Tags

cli-appdownloaderexporterflickrflickr-apihacktoberfestuploader

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/samwilson-phpflickr-cli/health.svg)

```
[![Health](https://phpackages.com/badges/samwilson-phpflickr-cli/health.svg)](https://phpackages.com/packages/samwilson-phpflickr-cli)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k57.4M685](/packages/drush-drush)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M343](/packages/drupal-core-recommended)

PHPackages © 2026

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