{"id":20235343,"url":"https://github.com/phphleb/rfinder","last_synced_at":"2026-01-11T07:48:29.204Z","repository":{"id":57040468,"uuid":"424330690","full_name":"phphleb/rfinder","owner":"phphleb","description":"Checking an arbitrary URL for Micro-Framework HLEB","archived":false,"fork":false,"pushed_at":"2022-10-18T18:00:08.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-07-15T16:58:34.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"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/phphleb.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":"2021-11-03T18:04:26.000Z","updated_at":"2023-07-15T16:58:34.652Z","dependencies_parsed_at":"2022-08-23T23:30:25.297Z","dependency_job_id":null,"html_url":"https://github.com/phphleb/rfinder","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Frfinder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Frfinder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Frfinder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Frfinder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phphleb","download_url":"https://codeload.github.com/phphleb/rfinder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224586982,"owners_count":17335952,"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-14T08:16:00.537Z","updated_at":"2024-11-14T08:16:01.258Z","avatar_url":"https://github.com/phphleb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Checking an arbitrary URL for Micro-Framework HLEB\n\n\nThe class `RouteFinder` is not included in the original configuration of the framework [HLEB](https://github.com/phphleb/hleb), so it must be copied to the folder with the vendor/phphleb  libraries from the [github.com/phphleb/rfinder](https://github.com/phphleb/rfinder)  repository or installed using Composer:\n\n ```bash\n $ composer require phphleb/rfinder\n ```\n\nChecking:\n ```php\nuse Phphleb\\Rfinder\\RouteFinder;\n\nif ((new RouteFinder('/example/url/address/', 'GET'))-\u003eisFound()) {\n  // Found a match in all types of routes.\n}\n```\nSeparately:\n ```php\nuse Phphleb\\Rfinder\\RadjaxRouteFinder;\nuse Phphleb\\Rfinder\\StandardRouteFinder;\n\n$address = '/example/url/address/';\n\n// Step 1\nif ((new RadjaxRouteFinder($address))-\u003eisFound()) {\n  // Found a match in the Radjax routes.\n}\n\n// Step 2\nif ((new StandardRouteFinder($address, 'GET'))-\u003eisFound()) {\n  // Found a match in the standard routes.\n}\n\n\n```\n\n-----------------------------------\n\n[![License: MIT](https://img.shields.io/badge/License-MIT%20(Free)-brightgreen.svg)](https://github.com/phphleb/draft/blob/main/LICENSE) ![PHP](https://img.shields.io/badge/PHP-7-blue) ![PHP](https://img.shields.io/badge/PHP-8-blue) ![PHP](https://img.shields.io/badge/HLEB%20Framework-\u003e=1.5.73-brightgreen)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphphleb%2Frfinder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphphleb%2Frfinder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphphleb%2Frfinder/lists"}