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

dandelionmood/lastfm is a Laravel wrapper for the Last.fm API, giving your application a clean, expressive way to fetch music metadata—artist bios, album details, track info, and tags—without writing raw HTTP calls. Install it via Composer, publish the configuration with your API credentials, and query Last.fm through the package's facade.

  • Laravel service provider and facade for quick setup
  • Publishable config file for your Last.fm API key
  • Query artist, album, and track information
  • Retrieve tags, charts, and similar artists
  • Composer-installable with straightforward usage
Frequently asked questions about Lastfm
How do I install dandelionmood/lastfm in a Laravel app?
Install it with Composer, but first run a short compatibility spike against your target PHP and Laravel versions because the package was last released in 2019 and is archived. If the constraints resolve, bind it behind an application-owned adapter instead of calling it directly from controllers, jobs, or models. A fork or dependency override may be needed if transitive constraints conflict.
Does dandelionmood/lastfm include a Laravel service provider or facade?
No. The evaluation found no service provider, configuration publishing, or facade, so it does not behave like a Laravel-native package. Treat it as a low-level SDK and bind it behind your own interface, keeping the API key in Laravel configuration or secrets.
Which PHP and Laravel versions does dandelionmood/lastfm support?
The last release was in 2019, which predates modern PHP and Laravel versions, so support must be verified with a real Composer resolve rather than assumed. Check the package's PHP constraints and its Guzzle and PSR transitive dependencies against your target stack. Expect that a fork or dependency overrides may be required.
Is dandelionmood/lastfm still maintained?
No, the repository is archived and has no upstream fixes, security patches, or compatibility updates. Adopting it transfers maintenance ownership to your team. That is reasonable only for low-risk, non-critical integrations with a documented fork and escalation path.
How do I fetch artist, album, or track data from Last.fm in Laravel?
Instantiate the wrapper with your Last.fm API key and call its methods for artist, album, track, and tag data, then normalize the responses inside your adapter. Avoid spreading direct package calls across controllers, jobs, or models. Add caching, timeouts, retries, and backoff at the adapter boundary.
Can I use this package for similar artists or music charts?
Likely yes for public read-only data such as similar artists and charts, subject to which endpoints the wrapper actually covers. The evaluation warns it may implement only a subset of Last.fm endpoints, so confirm your required calls first. Validate Last.fm API terms, rate limits, and data licensing separately.
How should I handle Last.fm API keys and configuration in Laravel?
Keep the API key in Laravel configuration and secrets, never hardcoded, and inject it into the wrapper from a service provider you own. Because the package has no config publishing, you create your own config file and adapter binding. Cache responses to stay within Last.fm rate limits.
Does dandelionmood/lastfm support scrobbling or authenticated user data?
Scrobbling and authenticated user data require Last.fm's auth flow, and the evaluation does not confirm the wrapper supports it. Confirm endpoint coverage with a spike before committing. If it is unsupported, use Laravel's Http client with a small internal client instead.
What are the risks of using an archived Last.fm package in production?
Technical risk is high: archived status, no security patches, 2019-era transitive dependencies that may conflict or trigger audit findings, and little community validation with 27 stars and zero dependents. Run Composer audit and static analysis before production. Define replacement triggers such as audit failure, PHP upgrade conflict, or an API change.
What are alternatives to dandelionmood/lastfm for Laravel?
For read-only metadata, many teams use Laravel's Http facade with a small internal client, which is often less effort than adopting an archived package and gives full control over caching, retries, and rate limits. If you adopt the wrapper, wrap it behind an interface so it can be swapped later. Re-evaluate only if the Last.fm API itself is no longer strategic.
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource