drahil / php-mubi
A CLI tool to retrieve and analyze Mubi profile data. It allows users to fetch statistics about their watched films, including most-watched directors, favorite genres, highest-rated films, and more, providing insightful summaries of their viewing habits.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.1
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.8.2
README
]php-mubi is a playful PHP CLI tool that lets you explore your movie-watching habits on MUBI. It’s not meant to be a serious data tool, but rather something fun to bring up when chatting about movies with friends.
⚠️ Note: This is not intended as a production-grade or heavily-tested package. It's just a fun side project for movie lovers.
🎬 What Can It Do?
Once you run the tool, you’ll be prompted with options like: Possible actions:
- Search movies by country
- Search movies by director
- Search movies by genre
- Get stats
If you pick 4, you’ll see: Possible stats:
- Top directors
- Top countries
- Top genres
- Rating by movie duration
🛠 Installation
You can install it using Composer:
composer require drahil/php-mubi:dev-main
🚀 Usage
Just run the CLI script:
vendor/bin/mubi-stats.php
You’ll be prompted to paste the URL of your public MUBI profile (e.g., https://mubi.com/en/users/your-mubi-id). The tool will take it from there—no need to export anything manually from MUBI.