{"id":21702246,"url":"https://github.com/briandavidclark/ramuda","last_synced_at":"2026-05-17T10:37:24.326Z","repository":{"id":62496978,"uuid":"292453870","full_name":"briandavidclark/ramuda","owner":"briandavidclark","description":"Functional programming helper library for PHP based on Ramda.js","archived":false,"fork":false,"pushed_at":"2023-07-27T11:35:21.000Z","size":99,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-09T13:02:51.617Z","etag":null,"topics":["functional-programming","php","ramda"],"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/briandavidclark.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":"2020-09-03T03:15:12.000Z","updated_at":"2021-12-09T06:35:15.000Z","dependencies_parsed_at":"2025-01-25T15:25:25.517Z","dependency_job_id":"b5218f57-f3d7-41f8-be8f-aa5b47a3c949","html_url":"https://github.com/briandavidclark/ramuda","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"purl":"pkg:github/briandavidclark/ramuda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briandavidclark%2Framuda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briandavidclark%2Framuda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briandavidclark%2Framuda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briandavidclark%2Framuda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/briandavidclark","download_url":"https://codeload.github.com/briandavidclark/ramuda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briandavidclark%2Framuda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33135105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["functional-programming","php","ramda"],"created_at":"2024-11-25T21:12:20.503Z","updated_at":"2026-05-17T10:37:24.306Z","avatar_url":"https://github.com/briandavidclark.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# λ ramuda\n\nFunctional programming helper library for PHP based on [Ramda.js](https://ramdajs.com/)\n\nAs far as I know, this is the most feature complete port of [Ramda.js](https://ramdajs.com/) for PHP with over 350 functions. Also, includes many functions from [Ramda Adjunct](https://char0n.github.io/ramda-adjunct/2.24.0/index.html) and [Ramda Extension](https://ramda-extension.firebaseapp.com/docs/).\n\nIn addition, where possible, some of the functions have improved capabilities, such as **filter** and **map** handling strings and objects as well as the usual arrays.\n\nRequires PHP 5.6 or higher.\n\nUsage example:\n\n```php\nuse ramuda\\R;\n\n$users = [\n   ['id'=\u003e'45', 'fName'=\u003e'Jane', 'lName'=\u003e'Doe'],\n   ['id'=\u003e'22', 'fName'=\u003e'John', 'lName'=\u003e'Doe'],\n   ['id'=\u003e'99', 'fName'=\u003e'John', 'lName'=\u003e'Smith']\n];\n\n$listToSelect = R::pipe(\n   R::filter(R::propEq('lName', 'Doe')),\n   R::sortBy(R::prop('id')),\n   R::map(function($x){\n      return \"\u003coption value='{$x['id']}'\u003e{$x['fName']} {$x['lName']}\u003c/option\u003e\";\n   }),\n   R::join(''),\n   R::wrapWith(['\u003cselect\u003e', '\u003c/select\u003e'])\n);\n\necho $listToSelect($users);\n```\nProduces the following string:\n```html\n\u003cselect\u003e\n    \u003coption value=\"22\"\u003eJohn Doe\u003c/option\u003e\n    \u003coption value=\"45\"\u003eJane Doe\u003c/option\u003e\n\u003c/select\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriandavidclark%2Framuda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbriandavidclark%2Framuda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriandavidclark%2Framuda/lists"}