{"id":49873812,"url":"https://github.com/pencepay/pencepay-php","last_synced_at":"2026-05-15T11:35:20.819Z","repository":{"id":24209992,"uuid":"27601704","full_name":"pencepay/pencepay-php","owner":"pencepay","description":"Pencepay PHP library http://pencepay.com/docs/php","archived":false,"fork":false,"pushed_at":"2017-12-08T14:30:55.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-27T15:44:33.611Z","etag":null,"topics":["payment-gateway","payment-processing"],"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/pencepay.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-05T17:12:57.000Z","updated_at":"2020-09-29T21:10:31.000Z","dependencies_parsed_at":"2022-08-23T21:00:20.439Z","dependency_job_id":null,"html_url":"https://github.com/pencepay/pencepay-php","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/pencepay/pencepay-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pencepay%2Fpencepay-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pencepay%2Fpencepay-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pencepay%2Fpencepay-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pencepay%2Fpencepay-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pencepay","download_url":"https://codeload.github.com/pencepay/pencepay-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pencepay%2Fpencepay-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33065619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["payment-gateway","payment-processing"],"created_at":"2026-05-15T11:35:16.711Z","updated_at":"2026-05-15T11:35:20.815Z","avatar_url":"https://github.com/pencepay.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pencepay PHP Library\n\nThis is a server-side library for Pencepay gateway. You can [signup](https://pencepay.com) to Pencepay and then use this library to integrate.\n\n## Dependencies\n\nPHP version \u003e= 5.4 is required.\n\nThe following PHP extensions are required:\n\n* curl\n* dom\n* hash\n* openssl\n\n## Installation\n\nYou can install this library via [Composer](http://getcomposer.org), by adding this to your composer.json:\n\n    {\n      \"require\": {\n        \"pencepay/pencepay-php\": \"1.*\"\n      }\n    }\n\nTo install, run the command:\n\n    composer.phar install\n\nIf you wish to use the library without Composer, you can install it manually\n\n    git clone https://github.com/pencepay/pencepay-php\n\n\n## Using the Pencepay Library\n\nIf you are using Composer, include the Library in your project with:\n\n    require_once('vendor/autoload.php');\n\nor if you are not using Composer, just require the library directly:\n\n    require_once('/path/to/pencepay-php/lib/Pencepay.php');\n\n\n```php\nPencepay_Context::setPublicKey(\"your-public-key\");\nPencepay_Context::setSecretKey(\"your-secret-key\");\n\n$transaction = Pencepay_Transaction::create(\n    Pencepay_Request_Transaction::build()\n        -\u003eorderId('123456')\n        -\u003eamount('10.99')\n        -\u003ecurrencyCode('EUR')\n        -\u003ecreditCard()\n            -\u003ecardholderName('John Hancock')\n            -\u003enumber('4350100010001002')\n            -\u003ecvv('313')\n            -\u003eexpiryMonth(12)\n            -\u003eexpiryYear(2016)\n            -\u003edone()\n);\n\nprint_r($transaction);\n```\n\n## Documentation\n\n * See the [Full Library documentation](https://pencepay.com/docs)\n\n## License\n\nSee the LICENSE file.\n\n## TODO\n\nUpload tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpencepay%2Fpencepay-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpencepay%2Fpencepay-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpencepay%2Fpencepay-php/lists"}