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

Yousign Bundle Laravel Package

picoss/yousign-bundle

Symfony bundle that integrates Yousign electronic signature services into PHP applications. It provides configuration and service wrappers for creating, managing, and tracking signature requests through the Yousign API, with support for common e-signature workflows and easy setup.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit — the premise needs correcting. Despite the framing as a "Laravel/PHP package," this is a Symfony2 bundle, not a Laravel package. Its integration surface is Symfony-specific: a Bundle subclass registered in AppKernel, a DependencyInjection/Extension with a configuration tree, and service definitions in YAML/XML. There is no service provider, facade, or config-publishing convention that Laravel would recognize. If the target application is Laravel, this package cannot be installed and used as intended — only the underlying YouSign API client could be borrowed, and even then as a reference implementation, not a dependency. If the target is Symfony, the fit is still poor: Symfony 2.x reached end of life in 2018, and modern Symfony (6/7) expects autowiring, Flex recipes, and attribute-based configuration rather than bundle-managed service YAML.

Integration feasibility — installable, probably not functional. Composer resolution is the first wall: Symfony2-era bundles typically pin php ^5.4|^7.0 and symfony/symfony ~2.3, which will not satisfy PHP 8.1+ or Symfony 6/7. Forcing installation with --ignore-platform-reqs is a red flag, not a workaround. Second wall is the API contract: YouSign's public API has moved through multiple major versions, and a bundle of this vintage almost certainly targets a deprecated authentication scheme and payload shape. Verify against the vendor's current API reference before assuming any request/response mapping is still valid.

Technical risk — high, and concentrated in abandonment. Two stars, zero dependents, and a composite score of 0.43 signal a package with no production user base and no maintenance cadence. There is no CVE response process, no issue triage, and no upgrade path. You would be adopting ownership of the code on day one. The dependency risk is also transitive: the bundle wraps a separate YouSign API client library, which carries the same abandonment profile and adds a second unaudited link in the chain.

Key questions to resolve before any code is written:

  • Is the target stack actually Laravel or Symfony? This determines whether the package is even a candidate.
  • Which YouSign API version does our commercial contract provision, and does an official vendor SDK exist for it? (YouSign publishes first-party SDKs; that is the default answer to "should we use this bundle?")
  • What signature level do we require — simple, advanced, or qualified eIDAS — and does the legacy bundle expose the fields needed for that flow?
  • What is the volume, and is the workflow webhook-driven or polling?
  • Do we have sandbox credentials and a compliance owner for evidentiary/audit-trail requirements?

Integration Approach

Stack fit. Treat the bundle as a reference artifact, not a dependency. In Laravel, integrate the official YouSign SDK behind a service provider: bind credentials in config/services.php, expose a thin facade or typed client, dispatch signature requests through queued jobs, and handle callbacks in a dedicated controller with signature verification. In Symfony, autowire the official SDK client directly and, if encapsulation is desired, ship a small internal bundle or a services.yaml block — roughly the work this package did, but against a current API and with a maintainer.

Migration path. Do not attempt to migrate to this package; there is nothing to migrate from, since there are no dependents. If legacy code already calls it, the migration is: freeze new usage, build a compatibility adapter over the official SDK that preserves the existing interface, move call sites behind that adapter, then delete the bundle. Budget the bulk of effort for reconciling API version differences — payload shape, auth token lifecycle, and status enums are where the breakage lives.

Compatibility. Target PHP 8.1+ and the current LTS of the chosen framework. Expect the bundle's composer constraints to conflict outright; that conflict is itself the finding to report. Any solution requiring platform-req overrides should be rejected in review.

Sequencing.

  1. Confirm framework, API version, and signature level with stakeholders and the YouSign account team.
  2. Spike: end-to-end signature in the vendor sandbox using the official SDK (1–2 days), which will settle build-vs-adopt empirically.
  3. Design the state machine and idempotency model before touching production credentials.
  4. Implement webhook ingestion, retry/backoff, and document retention.
  5. Sandbox certification with legal/compliance sign-off, then phased production rollout on a non-critical document type.

Operational Impact

Maintenance. Adopting this package transfers full maintenance burden to us with no upstream to lean on. Every YouSign API change, PHP upgrade, and framework major becomes an internal patch. Against a first-party SDK — where the vendor absorbs API drift as a condition of their own support contract — the total cost of ownership comparison is not close.

Support. Neither the package author nor YouSign support will troubleshoot a third-party Symfony2 bundle. Incident escalation would dead-end at our own on-call engineer, who would be debugging an unfamiliar, decade-old codebase under production pressure.

Scaling. Signature volume is typically low-QPS, so raw throughput is not the constraint. The real scaling concern is architectural: synchronous API calls inside the request cycle will produce timeouts and partial state under load. Queue the submission, persist a local record keyed by an idempotency token, and let verified webhooks drive transitions.

Failure modes to design against:

  • Silent API deprecation breaking signature submission with no upstream fix available.
  • Duplicate signature requests from client retries without idempotency keys — a legal and UX problem, not just a technical one.
  • Unverified or unauthenticated webhook callbacks allowing forged status transitions.
  • Credential rotation handled by editing container config, since bundles of this era rarely support environment-driven secrets cleanly.
  • Loss of audit trail or timestamp fidelity, which undermines the evidentiary value of the signed document.

Ramp-up. The bundle's code surface is small, so reading it is cheap; that is its only genuine virtue. The expensive ramp-up is domain knowledge — eIDAS signature levels, consent capture, retention obligations, and YouSign's workflow model — and that cost is identical regardless of which client library sits underneath. Spend the engineering time there, on the official SDK, rather than on resurrecting an unmaintained wrapper.

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.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin