{"id":27145456,"url":"https://github.com/elegantengineeringtech/laravel-yousign","last_synced_at":"2025-04-08T09:48:34.456Z","repository":{"id":243391346,"uuid":"811885975","full_name":"ElegantEngineeringTech/laravel-yousign","owner":"ElegantEngineeringTech","description":"A YouSign SDK for Laravel","archived":false,"fork":false,"pushed_at":"2025-03-24T11:47:28.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-24T12:40:53.386Z","etag":null,"topics":["electronic-signatures","laravel","pdf","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ElegantEngineeringTech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ElegantEngineeringTech"}},"created_at":"2024-06-07T14:00:48.000Z","updated_at":"2025-03-24T11:47:32.000Z","dependencies_parsed_at":"2024-06-08T15:25:01.286Z","dependency_job_id":"fd87d05c-e0a7-4cfe-90e3-22ea2cb4b7b1","html_url":"https://github.com/ElegantEngineeringTech/laravel-yousign","commit_stats":null,"previous_names":["elegantengineeringtech/laravel-yousign"],"tags_count":2,"template":false,"template_full_name":"spatie/package-skeleton-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElegantEngineeringTech%2Flaravel-yousign","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElegantEngineeringTech%2Flaravel-yousign/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElegantEngineeringTech%2Flaravel-yousign/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElegantEngineeringTech%2Flaravel-yousign/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElegantEngineeringTech","download_url":"https://codeload.github.com/ElegantEngineeringTech/laravel-yousign/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247818770,"owners_count":21001384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["electronic-signatures","laravel","pdf","php"],"created_at":"2025-04-08T09:48:33.817Z","updated_at":"2025-04-08T09:48:34.449Z","avatar_url":"https://github.com/ElegantEngineeringTech.png","language":"PHP","funding_links":["https://github.com/sponsors/ElegantEngineeringTech"],"categories":[],"sub_categories":[],"readme":"# Yousign SDK for Laravel\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/elegantly/laravel-yousign.svg?style=flat-square)](https://packagist.org/packages/elegantly/laravel-yousign)\n[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/ElegantEngineeringTech/laravel-yousign/run-tests.yml?branch=main\u0026label=tests\u0026style=flat-square)](https://github.com/ElegantEngineeringTech/laravel-yousign/actions?query=workflow%3Arun-tests+branch%3Amain)\n[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/ElegantEngineeringTech/laravel-yousign/fix-php-code-style-issues.yml?branch=main\u0026label=code%20style\u0026style=flat-square)](https://github.com/ElegantEngineeringTech/laravel-yousign/actions?query=workflow%3A\"Fix+PHP+code+style+issues\"+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/elegantly/laravel-yousign.svg?style=flat-square)](https://packagist.org/packages/elegantly/laravel-yousign)\n\nYousign API and Webhooks for your Laravel App.\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require elegantly/laravel-yousign\n```\n\nYou can publish the config file with:\n\n```bash\nphp artisan vendor:publish --tag=\"laravel-yousign-config\"\n```\n\nThis is the contents of the published config file:\n\n```php\nreturn [\n    /**\n     * The Yousign API key\n     */\n    'api_key' =\u003e env('YOUSIGN_KEY'),\n\n    /**\n     * Whether request should be sent to the sandbox environnement\n     */\n    'sandbox' =\u003e env('YOUSIGN_SANDBOX', true),\n\n    'webhooks' =\u003e [\n        /*\n        * Yousign will sign each webhook using a secret. You can find the used secret at the\n        * webhook configuration settings: https://yousign.app/auth/workspace/integrations/webhooks\n        */\n        'signing_secret' =\u003e env('YOUSIGN_WEBHOOK_SECRET'),\n\n        /*\n        * You can define a default job that should be run for all other Stripe event type\n        * without a job defined in next configuration.\n        * You may leave it empty to store the job in database but without processing it.\n        */\n        'default_job' =\u003e '',\n\n        /*\n        * You can define the job that should be run when a certain webhook hits your application\n        * here. The key is the name of the Stripe event type with the `.` replaced by a `_`.\n        *\n        * You can find a list of Stripe webhook types here:\n        * https://stripe.com/docs/api#event_types.\n        */\n        'jobs' =\u003e [\n            // 'signature_request_done' =\u003e \\App\\Jobs\\YousignWebhooks\\HandleSignatureRequestDone::class,\n        ],\n\n        /*\n        * The classname of the model to be used. The class should equal or extend\n        * Spatie\\WebhookClient\\Models\\WebhookCall.\n        */\n        'model' =\u003e \\Spatie\\WebhookClient\\Models\\WebhookCall::class,\n\n        /**\n         * This class determines if the webhook call should be stored and processed.\n         */\n        'profile' =\u003e \\Elegantly\\Yousign\\Webhooks\\YousignWebhookProfile::class,\n\n        /*\n        * Specify a connection and or a queue to process the webhooks\n        */\n        'connection' =\u003e env('YOUSIGN_WEBHOOK_CONNECTION'),\n        'queue' =\u003e env('YOUSIGN_WEBHOOK_QUEUE'),\n\n        /*\n        * When disabled, the package will not verify if the signature is valid.\n        * This can be handy in local environments.\n        */\n        'verify_signature' =\u003e env('YOUSIGN_SIGNATURE_VERIFY', true),\n    ],\n];\n```\n\n## API Usage\n\n```php\n\\Elegantly\\Yousign\\Facades\\Yousign::connector()-\u003esignatureRequest()-\u003efind('YOUSIGN_SIGNATURE_ID');\n```\n\n## Webhooks Usage\n\n```php\nRoute::yousignWebhooks('/yousign/webhooks');\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n-   [Quentin Gabriele](https://github.com/QuentinGab)\n-   [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felegantengineeringtech%2Flaravel-yousign","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felegantengineeringtech%2Flaravel-yousign","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felegantengineeringtech%2Flaravel-yousign/lists"}