{"id":19004986,"url":"https://github.com/codeedu/paypal-rest-api-sdk-php","last_synced_at":"2026-04-21T10:30:16.761Z","repository":{"id":216533243,"uuid":"741584200","full_name":"codeedu/paypal-rest-api-sdk-php","owner":"codeedu","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-10T17:57:09.000Z","size":102,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-01T19:26:56.134Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeedu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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-01-10T17:39:40.000Z","updated_at":"2024-01-10T17:40:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb1e1cc3-532b-4ff2-8860-a4477e85c29b","html_url":"https://github.com/codeedu/paypal-rest-api-sdk-php","commit_stats":null,"previous_names":["codeedu/paypal-rest-api-sdk-php"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeedu%2Fpaypal-rest-api-sdk-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeedu%2Fpaypal-rest-api-sdk-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeedu%2Fpaypal-rest-api-sdk-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeedu%2Fpaypal-rest-api-sdk-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeedu","download_url":"https://codeload.github.com/codeedu/paypal-rest-api-sdk-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240027433,"owners_count":19736212,"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-08T18:25:39.235Z","updated_at":"2026-04-21T10:30:16.701Z","avatar_url":"https://github.com/codeedu.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"REST API SDK for PHP  (V0.5.0)\n==============================\n\n\tPayPal's PHP SDK for the RESTful APIs\n\n\nPrerequisites\n-------------\n\n   * PHP 5.3 or above\n   * curl, json \u0026 openssl extensions must be enabled\n   * composer for running the sample out of the box (See http://getcomposer.org)\n\n\nRunning the sample\n------------------\n\n   * Ensure that you have composer installed on your machine.\n   * Navigate to the samples folder and run 'composer update'.\n   * Optionally, update the sdk_config.ini file with your own client Id and client secret.\n   * Run any of the command line samples in the folder to see what the APIs can do.\n    \n    \nUsage\n-----\n\nTo write an app that uses the SDK \n\n   * Copy the composer.json file from the sample folder over to your project and run 'composer update' to fetch all \ndependencies\n   * Copy the sample configuration file sdk_config.ini to a location of your choice and let the SDK know your config path using the following define directive\n    \n       define('PP_SDK_CONFIG_PATH', /path/to/your/sdk_config.ini);\n    \n   * Obtain your clientId and client secret from the developer portal and add them to your config file\t\n   * Now you are all set to make your first API call. Create a resource object as per your need and call the relevant operation or invoke one of the static methods on your resource class.\n    \n    $payment = new Payment();\n\n    $payment-\u003esetIntent(\"Sale\");\n\n    ...\n    \n    $payment-\u003ecreate();\n    \n      *OR*\n    \n    $payment = Payment::get('payment_id');    \n    \n    These examples pick the client id / secret automatically from your config file. You can also set API credentials dynamically. See the sample code for how you can do this.\n\t\n\nContributing\n------------\n\nMore help\n---------\n\n   * API Reference\n   * Reporting issues / feature requests  \n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeedu%2Fpaypal-rest-api-sdk-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeedu%2Fpaypal-rest-api-sdk-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeedu%2Fpaypal-rest-api-sdk-php/lists"}