cocciagialla/bitbucket-api-bundle
symfony/http-client, symfony/options-resolver) or via Laravel’s Symfony Integration (e.g., spatie/symfony or laravel/symfony-bridge).gentlero/bitbucket-api PHP client (recommended for Laravel).symfony/http-client + symfony/options-resolver to replicate the bundle’s functionality in Laravel.Illuminate\Foundation\Application).symfony/http-client (for HTTP requests) and league/oauth2-client (for OAuth2).GuzzleHttp or Illuminate\HttpClient could replace Symfony’s HTTP client.ContainerAware services) breaking in Laravel.authorize/token endpoints). Laravel’s Socialite or Laravel Passport may simplify this.gentlero/bitbucket-api avoids this.gentlero/bitbucket-api client for stability.HttpClient facade for HTTP calls to avoid Symfony dependencies.HttpFoundation)?EventDispatcher) that must be replicated?spatie/laravel-bitbucket (if available) a better fit?gentlero/bitbucket-api directly with Laravel’s HttpClient and Guzzle for OAuth2.use Bitbucket\API\Api;
use Illuminate\Support\Facades\Http;
$client = new Api([
'client_id' => config('services.bitbucket.client_id'),
'client_secret' => config('services.bitbucket.client_secret'),
'redirect_uri' => config('services.bitbucket.redirect_uri'),
]);
symfony/http-client + symfony/options-resolver in Laravel via Composer.gentlero/bitbucket-api client for compatibility.gentlero/bitbucket-api + Laravel’s HttpClient.symfony/http-client and replicate the bundle’s logic.ServiceProvider to bind Symfony services.authorize redirects, token refresh).HttpClient can handle it natively.Socialite or custom middleware can manage auth.EventDispatcher) may require manual replication.config/services.php.config() helper to load Bitbucket credentials.ContainerAware with Laravel’s Container binding.gentlero/bitbucket-api + Laravel’s HttpClient.Events system.BitbucketAuthMiddleware) for token management.GET /2.0/repositories/{workspace}).gentlero/bitbucket-api directly reduces dependency on the unmaintained Symfony bundle.HttpClient, Socialite) provides long-term support.symfony/http-client).HttpClient provides built-in logging and retries, simplifying debugging.HttpClient would require additional configuration for logging (e.g., Monolog).gentlero/bitbucket-api may have more community traction or forks.HttpClient (Guzzle under the hood) is optimized for performance.HttpClient is also performant but may require additional tuning for Laravel’s queue/worker systems.HttpClient integrates seamlessly with queues (e.g., dispatchSync()).BitbucketTokenManager service.HttpClient can handle retries with exponential backoff.symfony/http-client or league/oauth2-client updates may introduce breaking changes.composer.json or use Laravel’s guzzlehttp/guzzle for HTTP.HttpClient is intuitive; OAuth2 flows can be documented with Laravel-specific examples.EventDispatcher) may require additional training.HttpClient and Socialite for auth, rather than Symfony’s HttpFoundation.How can I help you explore Laravel packages today?