- Does d4m/ngnfeed-ebay support all eBay Trading API endpoints, or are some missing?
- The package covers core Trading API operations like listings, orders, and payments, but its niche focus means advanced or newer endpoints may not be supported. Check the GitHub issues or source code for unsupported methods. For missing endpoints, you may need to extend the library or use direct API calls via Laravel’s HTTP client.
- How do I install d4m/ngnfeed-ebay in a Laravel project?
- Run `composer require d4m/ngnfeed-ebay` in your project root. The package doesn’t include Laravel-specific setup, so you’ll need to manually bind it to Laravel’s service container in a provider. Follow the README for basic usage, then integrate it with Laravel’s HTTP client or Guzzle for API calls.
- What Laravel versions does d4m/ngnfeed-ebay support, and is it compatible with PHP 8.1+?
- The package is PHP 8.x compatible and should work with Laravel 9+. Verify your `composer.json` constraints for `php` and `laravel/framework` to avoid conflicts. Test thoroughly in a staging environment, especially if using Laravel 10+, as the package lacks official Laravel-specific features.
- How does d4m/ngnfeed-ebay handle eBay’s OAuth authentication?
- The package abstracts OAuth authentication, but you’ll need to configure your eBay API credentials (app ID, dev ID, cert ID) manually. Store sensitive keys in Laravel’s `.env` file and pass them to the library’s initialization. For Laravel Sanctum or Passport integration, you’ll need custom middleware to bridge the two.
- Can I use d4m/ngnfeed-ebay with Laravel’s queue system for bulk operations?
- Yes, you can offload long-running API calls (e.g., bulk listings) to Laravel queues by wrapping the package’s methods in a job class. Use `dispatch()` or `dispatchSync()` to trigger jobs. The package itself doesn’t include queue support, so you’ll need to implement retry logic for failed jobs using Laravel’s queue workers.
- Does the package support eBay’s sandbox environment for testing?
- The library doesn’t explicitly document sandbox support, but you can configure eBay’s sandbox endpoints manually by overriding the API base URL in the package’s initialization. Test thoroughly in sandbox before deploying to production, as unsupported endpoints may behave unexpectedly.
- How does d4m/ngnfeed-ebay handle API rate limits and retries?
- The package lacks built-in rate limiting or retry logic, so you’ll need to implement this using Laravel’s HTTP client middleware or Guzzle middleware. Add delays between requests and use exponential backoff for retries. Consider caching responses with Laravel’s `Cache` facade to reduce API calls.
- Are there alternatives to d4m/ngnfeed-ebay for Laravel eBay integrations?
- For Laravel projects, consider `ebay/official-api-php-sdk` (official but complex) or `spatie/laravel-ebay` (if available). However, these may require more setup. If you need a lightweight solution, `d4m/ngnfeed-ebay` is a viable choice, but be prepared to extend it for missing features or Laravel-specific integrations.
- How do I validate eBay webhook notifications (e.g., VerifyWebhook) in Laravel?
- The package doesn’t include webhook validation, so you’ll need to implement this manually. Use Laravel’s `HasApiTokens` or `VerifyCsrfToken` middleware to validate incoming webhook requests. Store eBay’s webhook secret in `.env` and verify signatures using Laravel’s `Hash` facade or a custom middleware.
- What should I do if eBay deprecates an API endpoint used by d4m/ngnfeed-ebay?
- Monitor eBay’s API changelog and update the package locally if needed. Since the library is MIT-licensed, you can fork and extend it. For critical paths, maintain a migration plan: log deprecated endpoints, test alternatives, and gradually replace package usage with direct API calls or a custom wrapper.