Download the PHP package lukaszzychal/tmdb-client-php without Composer

On this page you can find all versions of the php package lukaszzychal/tmdb-client-php. 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 tmdb-client-php

TMDB Client PHP

CI/CD Pipeline Monthly Contract Tests Dependabot Latest Stable Version Total Downloads License Code Coverage

A comprehensive PHP client for The Movie Database (TMDB) API built with modern PHP practices and full test coverage.

Author: Łukasz Zychal

⚖️ TMDB License Compliance

This client is designed to help you comply with TMDB API Terms of Service. When using this client, you must:

See TMDB_LICENSE_COMPLIANCE.md for detailed requirements and examples.

Features

Installation

Install via Composer:

Configuration

1. Get TMDB API Key

  1. Visit themoviedb.org
  2. Create an account or log in
  3. Request an API key
  4. Copy your API key

2. Configure API Key

Option A: Using .env file (Recommended)

Option B: Environment Variable

Quick Start

📋 License Compliance Helper

API Documentation

Movies

TV Shows

People

Search

Configuration & Genres

Configuration

You can customize the HTTP client behavior:

Error Handling

The client provides specific exceptions for different error scenarios:

Testing

Running Tests

Contract Tests

Contract tests verify the real TMDB API behavior. To run them:

  1. Get a TMDB API key from themoviedb.org
  2. Configure your API key using one of these methods:

    Option A: Using .env file (Recommended)

    Option B: Environment variable

  3. Run contract tests:

Note: Contract tests are rate-limited and should be run sparingly. They're automatically scheduled to run daily in the CI/CD pipeline.

Code Quality

This package maintains high code quality standards using multiple static analysis tools:

Quality Tools Used:

For detailed information about all quality commands, see Quality Commands Reference.

Automated Maintenance

This project includes automated maintenance features to ensure reliability and security:

🔄 Dependabot Integration

🧪 Monthly Contract Testing

📊 CI/CD Pipeline

Examples

Basic Usage

See examples/basic-usage.php for a complete working example.

License Compliance

See examples/license-compliance-example.php for detailed TMDB license compliance examples including:

Run examples:

Requirements

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Ensure all tests pass
  6. Submit a pull request

Support

License

This project is licensed under the MIT License - see the LICENSE file for details.

Links

Changelog

See CHANGELOG.md for a list of changes and version history.


All versions of tmdb-client-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
guzzlehttp/guzzle Version ^7.8
psr/http-client Version ^1.0
psr/http-message Version ^1.0|^2.0
psr/log Version ^1.0|^2.0|^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 lukaszzychal/tmdb-client-php contains the following files

Loading the files please wait ...