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

Lastfm Laravel Package

dandelionmood/lastfm

A Laravel wrapper for the Last.fm API, giving you a simple, expressive client to query artists, albums, tracks, tags, and user charts without handling raw HTTP requests yourself.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature scoping for music/discovery surfaces. This package remains relevant anywhere the product wants to read Last.fm data: "recently played" and listening-history widgets, artist bios and metadata enrichment, similar-artist/track recommendations, and scrobble-based profile displays. It is still a read-path convenience layer, not a platform.
  • Roadmap input: is Last.fm a strategic data source or a nice-to-have? v0.8 does not change Last.fm’s long-term platform trajectory. Adopting this package still implies a bet on Last.fm’s API staying available and stable, so the real decision remains whether discovery features should anchor on Last.fm or treat it as optional enrichment behind our own provider abstraction.
  • Build vs. buy vs. fork. The options remain: adopt as-is, fork/vendor and maintain, write a thin in-house client on Laravel’s HTTP client/Guzzle, or use Spotify/Apple Music/MusicBrainz instead. v0.8’s configurable HTTP client and timeout support slightly improve the “buy” case, but the replacement cost is still low, so build/fork remains a credible default.
  • Prototyping and internal tooling. Still appropriate for a spike, hack-day integration, or internal analytics dashboard pulling scrobble data — places where time-to-demo matters more than long-term ownership.
  • Technical-debt and vendor-risk budgeting. If a team already uses it, v0.8 reduces immediate “dependency rot” risk but does not eliminate single-maintainer/low-adoption risk. Keep a roadmap option to wrap or replace it before it becomes load-bearing.

When to Consider This Package

Consider it when:

  • You are building a short-lived prototype or MVP in PHP/Laravel and need per-endpoint convenience for Last.fm reads (artist info, recent tracks, similar artists) within days, not weeks.
  • You are read-only: you need public API data and do not depend on user-authentication/scrobble-write flows. Confirm the package supports the auth flow you need before committing.
  • You need basic HTTP configurability. v0.8 adds HTTP client selection and request options such as timeout, which is a meaningful improvement over the prior “dead simple wrapper” baseline.
  • You accept the operating model: this is a small, low-adoption package with a thin maintainer base. v0.8 shows renewed maintenance and dependency upgrades, but it is not evidence of a large ecosystem or long-term support commitment. Pin the version and be prepared to vendor/fork.
  • Your app’s PHP/Laravel versions are explicitly validated against v0.8. Do not assume PHP 8.x / Laravel 10–11 compatibility just because dependencies were upgraded.

Look elsewhere (or build in-house) when:

  • It would become a long-lived production dependency. A recent maintenance release is positive, but the project still lacks the release cadence, adoption, and ecosystem safety of a mainstream dependency.
  • You need robustness beyond configurable timeouts: retries, rate-limit/backoff handling, caching, typed response objects, structured error handling, test coverage, and first-class Laravel service-provider integration.
  • Compliance, security review, or SBOM policy requires maintained dependencies with predictable release cadence and community support.
  • Last.fm is not core to the product — a 100–200 line client over Laravel’s Http facade will likely be cheaper to own than a fork, especially with timeout/client selection now available natively.
  • Your discovery strategy points to Spotify/Apple Music/MusicBrainz; do not let a convenient wrapper pull the roadmap toward a weaker data source.

How to Pitch It (Stakeholders)

For executives: This is a small, single-purpose PHP wrapper for the Last.fm API. It was previously easy to read as abandoned, but v0.8 shows renewed maintenance: dependency upgrades, tooling cleanup, and configurable HTTP client/timeout support. That lowers immediate compatibility and operability risk, but it does not make the package strategic or turn Last.fm into a stronger platform bet. It remains a low-cost convenience for reading music metadata, not a platform decision. Recommendation: do not adopt it as a strategic or long-term dependency. Use it as a prototype accelerator or reference implementation, and if we build music features, put them behind our own provider abstraction so Last.fm can be swapped for Spotify or MusicBrainz without a rewrite. The roadmap question is still whether Last.fm deserves a place in our discovery strategy at all.

For engineering: v0.8 is a positive maintenance signal — dependency upgrades and support for selecting the HTTP client and passing request options such as timeouts — but treat it as a copy-and-adapt reference or pinned dependency with a fork plan, not a hands-off Composer dependency. It is still a thin HTTP wrapper, so parity is achievable in roughly 1–3 developer-days using Laravel’s HTTP client with typed DTOs, retries/backoff, caching, and tests. If we adopt, vendor/fork it with attribution, pin the release, verify the license (likely MIT — confirm), check PHP 8.x/Laravel 10–11 compatibility, and confirm Last.fm auth-flow coverage before committing. The project still carries single-maintainer and API-drift risk; v0.8 reduces urgency but does not remove ownership burden.

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.
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels
wazza/laravel-db-encryption
hokny/laravel-generator
vonsogt/backup
jengo/queues
jeremykenedy/laravel-observability
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums