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

Finam Sdk Laravel Laravel Package

masyasmv/finam-sdk-laravel

A Laravel wrapper for the Finam SDK that simplifies integrating Finam brokerage APIs into PHP applications. It offers Laravel-friendly configuration and service container bindings, making it easy to authenticate and access market data and trading endpoints from your Laravel app.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: v1.2.0 strengthens the package’s outbound HTTP resilience by retrying transient 429 and 503 responses inside FinamClient, rather than relying only on Guzzle transport-error retries. This fits Laravel/PHP services that already centralize Finam API access through this client and want retry policy managed as package configuration instead of custom application code.
  • Integration feasibility: Low. The change is backward-compatible: retry_multiplier defaults to 1.0, preserving existing fixed-delay behavior. Teams can adopt the new exponential backoff by configuration rather than code changes, assuming the package’s config is publishable/mergeable in the host Laravel app.
  • Technical risk: Retry safety depends on endpoint idempotency and request semantics. Retrying 429/503 can be beneficial, but can also amplify load or duplicate non-idempotent operations if retries are applied too broadly. Retry-After handling should be validated for both delta-seconds and HTTP-date formats, and the release notes do not mention jitter, maximum retry caps, or retry observability.
  • Key questions: Which Finam endpoints are subject to these retries? Are non-idempotent requests excluded or protected by idempotency keys? What is the maximum retry count and total timeout budget? Does Retry-After support both seconds and date formats? How is retry_multiplier configured and documented? Are retry attempts logged or metered? Which Laravel/PHP versions are supported?

Integration Approach

  • Stack fit: The feature aligns with Laravel configuration patterns and Guzzle-based HTTP clients. Existing applications using FinamClient should inherit the improved behavior without changing call sites, while teams wanting exponential backoff can set retry_multiplier above 1.0.
  • Migration path: Update the package constraint to v1.2.0, run the application test suite, review/publish any updated package config, and merge retry_multiplier into environment-specific configuration. Start with the default 1.0 in production unless staged testing confirms a higher multiplier is appropriate.
  • Compatibility: No breaking changes or deprecations are indicated. The release reports green PHPUnit (107 tests), PHPStan, and Psalm checks. Compatibility still needs confirmation against the host app’s Laravel, PHP, and Guzzle versions.
  • Sequencing: Upgrade in a feature branch; run unit/integration tests; exercise 429 with Retry-After, 503, repeated-failure, and exhausted-retry scenarios in staging; tune retry_multiplier and retry limits; then deploy progressively with monitoring for retry volume, latency, and error rates.

Operational Impact

  • Maintenance: Low ongoing maintenance. The change is config-driven and covered by existing static analysis and test suites. Documentation should clearly explain retry_multiplier, default behavior, and any retry limits.
  • Support: Support burden should decrease where teams previously maintained custom retry wrappers. A runbook should cover 429/503 behavior, Retry-After handling, retry exhaustion, and how to inspect retry-related logs or metrics.
  • Scaling: Exponential backoff and Retry-After support reduce pressure on the Finam API during transient degradation. However, without explicit jitter, many clients using the same multiplier can still synchronize retries. The retry budget should be bounded to avoid long worker occupancy.
  • Failure modes: Non-idempotent requests could be duplicated if retried; misconfigured retry_multiplier could create retry storms or excessive delay; long Retry-After values could tie up workers; retry exhaustion will still surface the underlying failure; missing observability could hide retry-related latency.
  • Ramp-up: Low for developers familiar with Laravel config. Operations and support need a short briefing on retry semantics, configuration, and monitoring. TPM can position v1.2.0 as a low-risk resilience improvement with the main gating item being confirmation of retry-safe endpoint coverage and observability.
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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource