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.
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:
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.
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:
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.
How can I help you explore Laravel packages today?