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

Coindesk Laravel Package

gabrielandy/coindesk

A Laravel package for integrating the CoinDesk API into your PHP applications, providing convenient access to Bitcoin price index data and related market information through a simple, framework-friendly interface.

View on GitHub
Deep Wiki
Context7

A Laravel package for the CoinDesk Bitcoin Price Index (BPI) API

Frequently asked questions about Coindesk
How do I install gabrielandy/coindesk in a Laravel app?
Install it with composer require gabrielandy/coindesk. Laravel package auto-discovery should register the service provider; if it does not, add the provider manually in config/app.php. Check whether the package ships a config file and publish it with php artisan vendor:publish before setting any endpoint or credential options. Wrap the package in your own adapter rather than calling it directly from controllers or Blade views.
Which Laravel and PHP versions does gabrielandy/coindesk support?
The composer.json file is the source of truth for PHP and illuminate/support constraints. Check those constraints against your application's composer.lock and CI matrix before upgrading, especially if you are on an older Laravel version. v1.2.0 is described as a minor release with no declared breaking change, but that does not replace checking the actual version requirements.
How do I fetch the current Bitcoin price with this CoinDesk package?
Resolve the package service through Laravel's container or facade, call the CoinDesk BPI endpoint, and read the BTC price from the response. Because v1.2.0 formats figures to two significant figures or two decimal places depending on the value, capture both raw and formatted values if display precision matters. Keep the call inside an application service so controllers, jobs, and views are not coupled to the package API.
Is the v1.2.0 price formatting change breaking for existing Laravel apps?
The release note describes v1.2.0 as a minor release with no declared breaking change or migration. However, the formatting change is consumer-visible and can break dashboards, exports, invoices, alerts, and snapshot tests that depend on displayed precision. Treat it as a behavior change: compare old and new outputs across boundary values and roll out behind a feature flag or adapter.
Can I get raw, unformatted Bitcoin prices from gabrielandy/coindesk?
The assessment explicitly asks whether raw values can still be retrieved and whether the new formatting is configurable or opt-in. Verify this in the package source and tests before relying on it. If raw values are not exposed cleanly, wrap the package and keep your own formatting policy in the application rather than fighting the package output.
How does gabrielandy/coindesk handle CoinDesk API errors, timeouts, and rate limits?
Do not assume the package retries, times out gracefully, or normalizes upstream errors; the evaluation lists API errors, rate limits, timeouts, and malformed responses as open concerns. Set explicit HTTP timeouts, catch exceptions, and log upstream failures in your adapter. For production resilience, consider cached last-known prices or a fallback provider, and review CoinDesk's terms and rate-limit expectations.
Does this package cache CoinDesk BPI responses?
Caching is not confirmed in the provided context and is listed as an open question. Implement caching in your own adapter with Laravel's Cache facade, using a TTL that matches how fresh the price display needs to be and what the upstream rate limits allow. Keep a bypass path for alerts, exports, or debugging so stale cached values do not silently propagate.
How should I test a Laravel application that uses gabrielandy/coindesk?
Avoid hitting the live CoinDesk API in automated tests. Mock the package behind your own interface, or use Laravel's HTTP fake if the package uses the framework HTTP client. Add contract tests for parsing and for v1.2.0 formatting boundaries: 0, 0.0001, 0.5, 1, 1.234, 10, 1000, and negatives if supported. Update UI snapshots and export fixtures as part of the upgrade.
Is gabrielandy/coindesk maintained, and what license does it use?
The evaluation flags license, security history, maintainer activity, and bus factor as questions to verify. Check the GitHub repository for the license file, recent commits, tagged releases, and open issues before adopting. Pin the version in composer.lock and monitor the repository for maintenance or security updates.
What are alternatives to gabrielandy/coindesk for Bitcoin price data in Laravel?
Alternatives include calling the CoinDesk BPI API directly, using another Laravel Bitcoin price package, or integrating an exchange API such as Coinbase, Binance, or Kraken. Compare data source, rate limits, terms of use, and whether you need display-only prices or trading-grade data. Keep any provider behind an application-owned interface so you can swap it without changing controllers or views.
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.
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle