Download the PHP package jooservices/flickr without Composer

On this page you can find all versions of the php package jooservices/flickr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package flickr

JOOservices Flickr SDK

CI codecov OpenSSF Scorecard PHP License: MIT Packagist Version

jooservices/flickr is a pure PHP, framework-agnostic Flickr SDK for PHP 8.5+. It is not a Laravel package and intentionally does not ship service providers, facades, routes, migrations, config publishing, or Artisan commands.

The SDK uses jooservices/dto for public data objects and jooservices/client for HTTP transport. Official Flickr documentation remains the source of truth for API method behavior: https://www.flickr.com/services/api/

Current coverage:

Install

Configure

First Public Search

flickr.photos.search can run unauthenticated for public photos. Private and semi-private results require OAuth read permission.

For lazy public search pagination, use searchPages():

Priority methods also expose typed *Data() helpers backed by hydrators:

Build Flickr image URLs from photo metadata:

Raw API Fallback

Unknown methods are still allowed so the package can call future Flickr methods before this package is updated.

Full API Method Wrappers

Every method in the official Flickr method index is available through a service wrapper. Wrappers that do not yet have a specialized DTO accept an associative parameter array and return ApiResponseData.

Examples:

The method registry stores docs URL, auth requirement, OAuth permission, cacheability, and GET/POST metadata scraped from the official method docs.

OAuth 1.0a

Flickr supports HMAC-SHA1 for OAuth request signing.

Upload, Replace, And Async Tickets

Upload and replace are separate from normal REST calls because Flickr sends binary files to up.flickr.com.

Replace:

Upload and replace require OAuth write permission. Delete requires delete permission. The SDK builds multipart requests with a readable file stream and closes that handle after the transport request completes.

Error Handling

Normal API responses are mapped to ApiResponseData. Flickr stat=fail responses return ok=false with ApiErrorData unless request options set throwOnApiError. Malformed, empty, or structurally invalid responses throw InvalidResponseException. Transport failures throw TransportException. Rate-limit and authorization failures throw RateLimitException and AuthorizationException respectively when Flickr or the transport signals those conditions.

Cache

V1 includes NullCache, Psr16Cache, and CacheKeyResolver. Runtime caching is disabled by default because FlickrFactory uses NullCache unless a cache adapter is passed.

When a cache adapter is passed, only public cacheable GET REST calls can be cached. Mutation, auth, OAuth, upload, replace, upload ticket polling, authenticated options, auth-required methods, POST methods, and Flickr stat=fail responses are never cached by default.

XML Support

JSON is the primary supported REST response format. XML parsing exists for Flickr upload/replace responses and has limited REST response parsing for compatibility, but REST XML should be treated as experimental unless a workflow has explicit tests.

Testing

Normal tests do not call Flickr:

Use the public fake transport to test application code without network calls:

Real API tests are opt-in:

Docs

See docs/README.md for architecture, getting started, user guide, examples, testing, release readiness, and V2 gaps.


All versions of flickr with dependencies

PHP Build Version
Package Version
Requires php Version >=8.5
jooservices/client Version ^2.0
jooservices/dto Version ^1.3
jooservices/exceptions Version ^0.5
psr/simple-cache Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jooservices/flickr contains the following files

Loading the files please wait ...