{"id":19621568,"url":"https://github.com/pkg6/paypal-php","last_synced_at":"2026-02-14T04:58:00.816Z","repository":{"id":243009892,"uuid":"811143866","full_name":"pkg6/paypal-php","owner":"pkg6","description":"PHP client for PayPal SDK","archived":false,"fork":false,"pushed_at":"2025-02-26T11:52:04.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-24T03:47:22.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/pkg6/paypal","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/pkg6.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}},"created_at":"2024-06-06T02:54:45.000Z","updated_at":"2025-02-26T11:50:02.000Z","dependencies_parsed_at":"2024-06-11T09:07:19.665Z","dependency_job_id":"ef754f04-4d83-4720-8f10-a48f50c3176f","html_url":"https://github.com/pkg6/paypal-php","commit_stats":null,"previous_names":["pkg6/paypal-rest-php","pkg6/paypal-php"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg6%2Fpaypal-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg6%2Fpaypal-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg6%2Fpaypal-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg6%2Fpaypal-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkg6","download_url":"https://codeload.github.com/pkg6/paypal-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251246280,"owners_count":21558762,"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":"2024-11-11T11:23:33.959Z","updated_at":"2025-12-12T19:04:31.155Z","avatar_url":"https://github.com/pkg6.png","language":"PHP","readme":"# Installation\n\n```\ncomposer require pkg6/paypal\n```\n\n# Using the Documentation\n\n- ## [RestClient](https://github.com/pkg6/paypal-php/wiki/PayPal-REST-APIs)\n\n~~~\n$config = [\n    // Can only be 'sandbox' Or 'live'. If empty or invalid, 'live' will be used.\n    'mode'           =\u003e 'live',\n    'client_id'      =\u003e 'some-client-id',\n    'client_secret'  =\u003e 'some-client-secret',\n    'app_id'         =\u003e 'APP-80W284485P519543T',\n     // Can only be 'Sale', 'Authorization' or 'Order'\n    'payment_action' =\u003e 'Sale',\n    'currency'       =\u003e 'USD',\n     // Change this accordingly for your application.\n    'notify_url'     =\u003e 'https://your-app.com/paypal/notify',\n    // force gateway language  i.e. it_IT, es_ES, en_US ... (for express checkout only)\n    'locale'         =\u003e 'en_US',\n    // Validate SSL when creating api client.\n    'validate_ssl'   =\u003e true,\n];\n$rest = new \\pkg6\\paypal\\RestClient($config);\n//Get Access Token\n$rest-\u003egetAccessToken();\n~~~\n\n\u003e For more instructions, see the documentation:\n\u003e\n\u003e https://github.com/pkg6/paypal-php/wiki/PayPal-REST-APIs\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkg6%2Fpaypal-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkg6%2Fpaypal-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkg6%2Fpaypal-php/lists"}