{"id":47868683,"url":"https://github.com/linkorb/data-router","last_synced_at":"2026-04-04T00:42:00.459Z","repository":{"id":62517368,"uuid":"397249405","full_name":"linkorb/data-router","owner":"linkorb","description":"DataRouter: library for routing arbitrary data based on hierarchical rules","archived":false,"fork":false,"pushed_at":"2021-08-17T12:34:43.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-23T06:42:35.391Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linkorb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-17T12:33:25.000Z","updated_at":"2021-08-17T18:34:02.000Z","dependencies_parsed_at":"2022-11-02T13:45:34.705Z","dependency_job_id":null,"html_url":"https://github.com/linkorb/data-router","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/linkorb/data-router","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fdata-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fdata-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fdata-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fdata-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linkorb","download_url":"https://codeload.github.com/linkorb/data-router/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fdata-router/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31383634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T23:20:52.058Z","status":"ssl_error","status_checked_at":"2026-04-03T23:20:51.675Z","response_time":107,"last_error":"SSL_read: 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":[],"created_at":"2026-04-04T00:41:55.708Z","updated_at":"2026-04-04T00:42:00.451Z","avatar_url":"https://github.com/linkorb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"DataRouter\n==========\n\nSimple library to route data based on nested routing rules\n\n## Use-cases:\n\n* Advanced alert/support routing based on schedules, escalation, priorities, etc\n* Q/A routing\n* Self-service\n* On-call scheduling\n\n## Concepts\n\nUsing the DataRouter library you create a nested tree structure of Routes.\n\nEvery Route has a name, expression (for matching), and optionally child routes and output data.\n\nThe expressions are evaluated hierarchically using the [Symfony Expression Language Component](https://symfony.com/doc/current/components/expression_language.html) allowing for arbitrarily complex routing rules.\n\nYou can pass in your own \"ExpressionLanguage\" instance to support your own custom functions to enrich your expressions.\n\n## Example\n\nCheck `example/example.php` for a simple example for a common usage scenario:\n\n1. Loading routes from a YAML config file (included `test-routes.yaml`)\n2. Instantiating a custom ExpressionLanguage instance with a custom method\n3. Instantiating a Router\n4. Routing / output\n5. Logging / debugging\n\n```sh\nphp example/example.php\n```\n\n## License\n\nMIT. Please refer to the [license file](LICENSE) for details.\n\n## Brought to you by the LinkORB Engineering team\n\n\u003cimg src=\"http://www.linkorb.com/d/meta/tier1/images/linkorbengineering-logo.png\" width=\"200px\" /\u003e\u003cbr /\u003e\nCheck out our other projects at [linkorb.com/engineering](http://www.linkorb.com/engineering).\n\nBtw, we're hiring!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkorb%2Fdata-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinkorb%2Fdata-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkorb%2Fdata-router/lists"}