Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Last Fm Client Bundle Laravel Package

calliostro/last-fm-client-bundle

Symfony bundle that integrates the modern calliostro/lastfm-client with autowiring and Guzzle. Configure your API key, secret, session key, user agent, and optional rate limiter to access Last.fm music data and scrobbling.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Music/Recommendation Features: Enables Last.fm API integration for music discovery, scrobble tracking, artist/genre trends, and personalized recommendations—useful for streaming platforms, DJ tools, social music networks, and fan-engagement products.
  • Data-Driven Personalization: Supports “recently played,” “top artists,” “fans of this artist,” and similar features by leveraging Last.fm user profile and neighborhood data.
  • Reliability for High-Traffic Features: v2.1.0 adds built-in retry resilience for Last.fm rate limits (429) and server overload (503), with auto_retry enabled by default and configurable max_retries. This reduces failed requests for user-facing features like live DJ sets, trending charts, and social feeds.
  • Operational Control Without Custom Code: Product and platform teams can tune retry behavior through calliostro_lastfm configuration rather than building custom backoff/sleep logic. This lowers maintenance burden and makes resilience a configuration decision, not a bespoke engineering project.
  • Legacy System Modernization: Strengthens the case for migrating from older Last.fm integrations to a maintained bundle with retry handling, modern Symfony/PHP support, and documented upgrade paths.
  • Performance and Risk Reduction: Native rate-limit handling and retries reduce API abuse risk, improve reliability under bursty traffic, and lessen the need for manual throttling workarounds.
  • Developer Experience (DX): Autowiring and type-hinting support faster development for new hires and microservices. The v2.1.0 CI matrix expands confidence across PHP 8.1–8.6 and Symfony 6.4 LTS, 7.x, 8.0–8.2.
  • Compliance and Quality: PHPStan Level 8, 100% test coverage, PSR-12 tooling, and expanded compatibility testing align with maintainable, scalable engineering practices.

When to Consider This Package

Adopt This Package If:

  • Your Laravel/Symfony app requires Last.fm API integration, including scrobbling, user profiles, chart data, or recommendation-adjacent features.
  • You are on PHP 8.1–8.6 and Symfony 6.4 LTS, 7.x, or 8.0–8.2, and want modern autowiring and rate-limit handling.
  • You need out-of-the-box retry behavior for Last.fm 429 and 503 responses, with the ability to tune or disable retries via auto_retry and max_retries.
  • You prioritize maintainability, documented configuration, 100% test coverage, and PHPStan Level 8 compliance over quick integrations.
  • Your team needs a straightforward migration from v1.x or a clean start with a well-documented Symfony bundle.
  • You are building features that depend on near-real-time music data, such as live DJ sets, social feeds, or “Trending Now” surfaces.

Look Elsewhere If:

  • You are on Symfony <6.4 or PHP <8.1; use v1.x or evaluate a different integration path.
  • Your use case is one-off scripting where bundle overhead is not justified.
  • You need non-Last.fm APIs such as Spotify or SoundCloud; choose dedicated packages.
  • Your team lacks Symfony/Laravel experience to manage autowiring, configuration, or retry settings.
  • You require offline caching or local persistence; this bundle focuses on API calls, retries, and integration, not local storage.

How to Pitch It (Stakeholders)

For Executives: “v2.1.0 makes our Last.fm integration more reliable under real traffic. It now automatically retries when Last.fm rate-limits or overloads requests, with configurable limits, so user-facing music features are less likely to fail during peak usage. We get stronger compatibility across PHP 8.1–8.6 and Symfony 6.4–8.2, plus 100% test coverage. This is a low-risk upgrade that reduces custom reliability work and supports scaling music features without adding engineering overhead.”

For Engineering: “v2.1.0 upgrades to calliostro/lastfm-client v2.1 with built-in retry resilience for Last.fm 429 and 503 responses. New configuration options auto_retry (default true) and max_retries (default 3) remove the need for manual backoff/sleep logic. Tests maintain 100% coverage, and CI now covers PHP 8.1–8.6 plus Symfony 6.4 LTS, 7.x, 8.0–8.2. Tooling is also tightened with root phpstan.neon.dist at Level 8 and PSR-12 .php-cs-fixer.dist.php. Migration from v2.0.0 should be low-friction; review retry defaults against your traffic profile and Last.fm API limits.”

For Product: “This unlocks data-driven music features with less operational risk: users get more reliable ‘Your Top Artists,’ ‘Fans of this artist,’ and scrobble-driven recommendation experiences, even when Last.fm is slow or rate-limiting. We can tune retries without new engineering work, which means fewer broken states in high-traffic features and faster iteration on discovery and personalization.”

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
roundly-consulting/kubernetes-api-for-laravel
roundly-consulting/plausible-for-laravel
gvp/gvp-laravel-template
metasyncsite/laravel-metasync-client
roundly-consulting/onboarding-for-laravel
andydefer/laravel-notification
adachsoft/cli-process-tester
jhaskell13/laraflow
sebastienheyd/boilerplate-media-manager
ccast/tagixo-primix
pretendtrue/laravel-builder
sawmainek/laravel-scout-tntsearch-driver
tomshaw/laravel-calendar-table
dibakar/laravel-ownership
steadrun/laravel-monitor
labyrinthe/connect-laravel
elmogy/layan
drewdan/sentinel-client
dskripchenko/laravel-llm
fatryst/nuonuo