{"id":28517510,"url":"https://github.com/invokable/laravel-paypay","last_synced_at":"2025-06-29T06:32:22.513Z","repository":{"id":62535280,"uuid":"336703136","full_name":"invokable/laravel-paypay","owner":"invokable","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-21T10:07:17.000Z","size":48,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-26T11:09:27.258Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/revolution/laravel-paypay","language":"PHP","has_issues":false,"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/invokable.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2021-02-07T04:49:46.000Z","updated_at":"2025-06-21T10:07:20.000Z","dependencies_parsed_at":"2023-12-09T02:28:59.172Z","dependency_job_id":"2c0a1fb3-67b8-4719-9b75-9b731ed498df","html_url":"https://github.com/invokable/laravel-paypay","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.0625,"last_synced_commit":"f838969c4cbd45d9854d4ac6d7fc2f67db56d90c"},"previous_names":["invokable/laravel-paypay"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/invokable/laravel-paypay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invokable%2Flaravel-paypay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invokable%2Flaravel-paypay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invokable%2Flaravel-paypay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invokable%2Flaravel-paypay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/invokable","download_url":"https://codeload.github.com/invokable/laravel-paypay/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invokable%2Flaravel-paypay/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262547043,"owners_count":23327090,"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":[],"created_at":"2025-06-09T05:08:41.098Z","updated_at":"2025-06-29T06:32:22.507Z","avatar_url":"https://github.com/invokable.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel PayPay\n\nSimple integration Laravel and PayPay OpenPayment API.\n\nhttps://developer.paypay.ne.jp/\n\nhttps://github.com/paypay/paypayopa-sdk-php\n\n## Overview\n\nThis package provides a Laravel-style interface for the PayPay OpenPayment API SDK, making it easy to integrate PayPay payment processing into your Laravel applications. The package wraps the official PayPay PHP SDK with familiar Laravel patterns including facades, service providers, and dependency injection.\n\nKey features:\n- **Laravel-style interface**: Access PayPay controllers through a clean facade pattern\n- **Easy testing**: Built-in support for mocking PayPay API calls in your tests\n- **Configuration management**: Environment-based configuration following Laravel conventions\n- **Service container integration**: Proper dependency injection and service binding\n\nThe package allows you to work with PayPay's payment, refund, QR code, user, and wallet operations using Laravel's familiar syntax while maintaining full access to the underlying PayPay SDK functionality.\n\n## Requirements\n- PHP \u003e= 8.2\n- Laravel \u003e= 11.0\n\n## Installation\n\n```\ncomposer require revolution/laravel-paypay\n```\n\n## Configuration\n\n.env\n```\nPAYPAY_PRODUCTION=false\nPAYPAY_API_KEY=\nPAYPAY_API_SECRET=\nPAYPAY_MERCHANT_ID=\nPAYPAY_CURRENCY=JPY\n```\n\n## Usage\nMagic method returns the corresponding controller class.\n\n```php\nuse Revolution\\PayPay\\Facades\\PayPay;\n\n/* @var PayPay\\OpenPaymentAPI\\Controller\\Code $code */\n$code = PayPay::code();\n\n/* @var PayPay\\OpenPaymentAPI\\Controller\\Payment $payment */\n$payment = PayPay::payment();\n\n/* @var PayPay\\OpenPaymentAPI\\Controller\\Refund $refund */\n$refund = PayPay::refund();\n```\n\n```php\nuse Revolution\\PayPay\\Facades\\PayPay;\nuse PayPay\\OpenPaymentAPI\\Models\\CreateQrCodePayload;\n\n$payload = new CreateQrCodePayload();\n// ...\n\n$response = PayPay::code()-\u003ecreateQRCode($payload);\n\n// ...\n```\n\n### Testing\n```php\nuse Revolution\\PayPay\\Facades\\PayPay;\n\nPayPay::expects('code-\u003ecreateQRCode')-\u003eonce()-\u003eandReturn([]);\n```\n\n## LICENSE\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvokable%2Flaravel-paypay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finvokable%2Flaravel-paypay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvokable%2Flaravel-paypay/lists"}