{"id":33996778,"url":"https://github.com/foxrp/rippled-php","last_synced_at":"2025-12-13T08:40:00.809Z","repository":{"id":62506819,"uuid":"133838329","full_name":"foxrp/rippled-php","owner":"foxrp","description":"A PHP library for rippled (XRP Ledger) communication.","archived":false,"fork":false,"pushed_at":"2019-12-04T16:26:46.000Z","size":645,"stargazers_count":42,"open_issues_count":3,"forks_count":36,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-09T01:57:35.127Z","etag":null,"topics":["api","api-client","blockchain","blockchain-technology","foxrp","package","packagist","php","php7","ripple","xrp","xrp-ledger"],"latest_commit_sha":null,"homepage":"","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/foxrp.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}},"created_at":"2018-05-17T16:07:23.000Z","updated_at":"2025-10-02T09:09:44.000Z","dependencies_parsed_at":"2022-11-02T10:15:42.829Z","dependency_job_id":null,"html_url":"https://github.com/foxrp/rippled-php","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/foxrp/rippled-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxrp%2Frippled-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxrp%2Frippled-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxrp%2Frippled-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxrp%2Frippled-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foxrp","download_url":"https://codeload.github.com/foxrp/rippled-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxrp%2Frippled-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27702679,"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","status":"online","status_checked_at":"2025-12-13T02:00:09.769Z","response_time":147,"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":["api","api-client","blockchain","blockchain-technology","foxrp","package","packagist","php","php7","ripple","xrp","xrp-ledger"],"created_at":"2025-12-13T08:39:58.849Z","updated_at":"2025-12-13T08:40:00.801Z","avatar_url":"https://github.com/foxrp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rippled-php\n\n[![Build Status](https://travis-ci.org/foxrp/rippled-php.svg?branch=master)](https://travis-ci.org/foxrp/rippled-php)\n[![Coverage Status](https://coveralls.io/repos/github/foxrp/rippled-php/badge.svg?branch=master)](https://coveralls.io/github/foxrp/rippled-php?branch=master)\n[![Latest Stable Version](https://poser.pugx.org/matthiasnoback/badges/v/stable.png)](https://packagist.org/packages/matthiasnoback/badges)\n[![Latest Unstable Version](https://poser.pugx.org/matthiasnoback/badges/v/unstable.png)](https://packagist.org/packages/matthiasnoback/badges)\n\nThis is a PHP library for communicating with the XRP Ledger.\n\nIn addition to wrapping the `rippled` API, it validates method/transaction parameters and normalizes responses.\n\nRefer to the [API Documentation](https://developers.ripple.com/rippled-api.html)\nin the [Ripple Developer Portal](https://developers.ripple.com/) for methods, parameters, and expected responses.\n\n## Dependencies\n\nThis project implements [PSR-7](https://www.php-fig.org/psr/psr-7/) via the use of\n[HTTPLUG](http://docs.php-http.org/en/latest/index.html) so the developer can select the\n[HTTP Client](http://docs.php-http.org/en/latest/clients.html) best suited for their\narchitecture.\n\nIf you do not have a preference, simply run the command below and proceed to the\ninstallation section.\n\n```\ncomposer require php-http/guzzle6-adapter php-http/message\n```\n\n## Installation\n\n```\ncomposer require foxrp/rippled-php\n```\n\n## QuickStart\n\n### Retrieve Balance\n\n```php\n\u003c?php\n\nuse FOXRP\\Rippled\\Client;\n\n$client = new Client('https://s1.ripple.com:51234');\n\n$balance = null;\n\n$response = $client-\u003esend('account_info', [\n    'account' =\u003e 'rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn'\n]);\n\n// Set balance if successful.\nif ($response-\u003eisSuccess()) {\n    $data = $response-\u003egetResult();\n    $balance = $data['account_data']['Balance'];\n}\n```\n\nSee [Exception Handling](docs/Exceptions.md) for more control over handling errors.\n\n## Documentation\n\n- [API Requests](docs/API.md)\n- [Transactions](docs/Transactions.md)\n- [Exception Handling](docs/Exceptions.md)\n\n## Unit Testing\n\nRun the unit test suite:\n\n```\nmake test\n```\n\nRun test coverage:\n\n```\nmake cov\n```\n\nOnce you run the coverage command, open `tests/coverage/index.html` to view the report.\n\n## Functional Testing\n\nFunctional tests run code against a live server. Of course this should be run against a test server.\n\nIf you don't already have test accounts, create 2 and note the account id and secret for each.\n\nhttps://developers.ripple.com/xrp-test-net-faucet.html\n\nThe functional test suite loads endpoint and account info from `.env.test`.\n\nIf you haven't already, copy `.env.test.dist` to `.env.test` and add your account info.\n\n`FOXRP_ACCT_1_ID` requires `100` XRP for the tests.\n\nUse the following command to run the functional test suite.\n\n```\nmake testf\n```\n\n## Contribute\n\nPRs \u0026 New Issues are welcome!\n\nXRP Tip Jar: `rwSZu5vAgPEdoDpYx9qZtqtHRDcFwCooqw`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxrp%2Frippled-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxrp%2Frippled-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxrp%2Frippled-php/lists"}