Download the PHP package calliostro/last-fm-client-bundle without Composer

On this page you can find all versions of the php package calliostro/last-fm-client-bundle. 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 last-fm-client-bundle

⚡ Last.fm Client Bundle for Symfony – Complete Music Scrobbling & Data Access

Package Version Total Downloads License PHP Version CI Code Coverage PHPStan Level Code Style

🚀 SYMFONY INTEGRATION! Seamless autowiring for the complete Last.fm music API. Zero bloat, maximum performance.

Symfony bundle that integrates the modern calliostro/lastfm-client into your Symfony application. Built with modern PHP 8.1+ features, dependency injection, and powered by Guzzle.

📦 Installation

Install via Composer:

⚙️ Configuration

Configure the bundle in config/packages/calliostro_lastfm.yaml:

API Key: You need to create an API account at Last.fm to get your API key. This is required for all operations.

API Secret: Required for authenticated write operations like scrobbling, loving tracks, or updating now playing status. Used together with API Key to generate signatures for authenticated requests.

Session Key: Required for user-specific authenticated operations like scrobbling tracks, loving tracks, updating now playing status, or accessing user's personal data. Obtain this through Last.fm's authentication flow or use a pre-generated session key.

User-Agent: By default, the client uses LastfmClient/2.0.0 (+https://github.com/calliostro/lastfm-client) as User-Agent. You can override this in the configuration if needed.

🚀 Quick Start

Basic Usage

Scrobbling and User Data

Music Discovery

✨ Key Features

🎵 All Last.fm API Methods as Direct Calls

All Last.fm API endpoints are supported with clean documentation — see Last.fm API Documentation for complete method reference

📋 Requirements

🔧 Service Integration

⚡ Rate Limiting (Optional)

For high-volume applications, use the powerful symfony/rate-limiter component:

1. Configure Rate Limiter

2. Configure Bundle

Choose your rate limit based on your usage:

The bundle uses a Guzzle middleware that automatically handles rate limiting by:

This seamless integration ensures your application never exceeds API limits without requiring any code changes. Higher rates may result in HTTP 429 responses if rate limiting is not configured.

🤝 Contributing

Contributions are welcome! Please see DEVELOPMENT.md for detailed setup instructions, testing guide, and development workflow.

📄 License

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

🙏 Acknowledgments


⭐ Star this repo if you find it useful! It helps others discover this lightweight solution.


All versions of last-fm-client-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
calliostro/lastfm-client Version ^2.0
symfony/config Version ^6.4|^7.0|^8.0
symfony/dependency-injection Version ^6.4|^7.0|^8.0
symfony/http-kernel Version ^6.4|^7.0|^8.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 calliostro/last-fm-client-bundle contains the following files

Loading the files please wait ...