Weave Code
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
Laravel Edmunds

Laravel Edmunds Laravel Package

dansup/laravel-edmunds

Deprecated Laravel package for the Edmunds API. Note: Edmunds has retired its open APIs, so this package is no longer maintained or usable for new integrations.

View on GitHub
Deep Wiki
Context7

An unoffical Edmunds SDK for the Laravel Framework

Frequently asked questions about Laravel Edmunds
Why is this package deprecated, and should I still use it for new Laravel projects?
Edmunds retired their public APIs, so this package is no longer viable for new integrations. Use it only for maintaining legacy Laravel apps that still rely on Edmunds data. For new projects, explore alternative vehicle data APIs or services.
How do I install this package in an existing Laravel project?
Run `composer require dansup/laravel-edmunds` in your project directory. Ensure your Laravel version is compatible (check the package’s documentation for specifics). The package integrates via service providers, so no manual configuration is needed beyond environment variables.
What Laravel versions does this package support?
The package supports Laravel 5.x and 6.x, but check the repository’s release notes for exact version compatibility. Since it’s deprecated, no new Laravel 8/9/10 support is planned. Use at your own risk for newer Laravel versions.
How do I configure the Edmunds API key in this package?
Set the `EDMUNDS_API_KEY` environment variable in your `.env` file with your Edmunds API key. The package reads this variable automatically during initialization. No additional configuration is required unless you need custom HTTP client settings.
Does this package work with Laravel’s HTTP client or Guzzle directly?
The package uses Guzzle under the hood but integrates seamlessly with Laravel’s HTTP client. You can extend or override the default Guzzle configuration if needed, such as setting `http_errors => false` for custom error handling.
How do I handle API errors (e.g., 404 or 500 responses) in this package?
Wrap API calls in try-catch blocks to handle `GuzzleException` or `RequestException`. The package defaults to throwing exceptions for HTTP errors, but you can configure Guzzle to suppress them by setting `http_errors => false` in your client configuration.
Are there alternatives to this package for vehicle data in Laravel?
Yes. Consider APIs like Carfax, VinSolutions, or open-source alternatives like OpenVIN. Packages like `spatie/laravel-vehicle-data` (if available) or custom integrations with modern APIs may better suit new projects. Always verify API availability and terms.
Will this package receive updates or security patches?
No. Since Edmunds retired their APIs, this package is no longer maintained. Use it only for legacy support. For security-critical applications, migrate to a supported alternative immediately.
How do I test this package in a Laravel application?
Mock the Edmunds API responses using Laravel’s HTTP testing helpers or tools like VCR for recording API calls. Test edge cases like invalid API keys, rate limits, and network failures. Since the API is retired, focus on integration testing with your existing data flows.
Can I use this package in production if Edmunds’ API is retired?
Technically yes, but only if your legacy app still has valid Edmunds API access. Expect unreliable behavior or failures as Edmunds may block requests. Plan a migration to a supported alternative to avoid disruptions.
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.
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony
spatie/flare-daemon-runtime