{"id":31565496,"url":"https://github.com/makarms/text-probe","last_synced_at":"2026-06-09T22:00:28.648Z","repository":{"id":306154727,"uuid":"1025195740","full_name":"MakarMS/text-probe","owner":"MakarMS","description":"Simple and extensible PHP library for text analysis and pattern matching, designed to help developers probe, parse, and manipulate text efficiently.","archived":false,"fork":false,"pushed_at":"2026-03-16T18:27:23.000Z","size":912,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-17T05:10:36.746Z","etag":null,"topics":["addresses-parsing","contributions-welcome","datetime","discord","email","good-first-contribution","good-first-issue","good-first-pr","help-wanted","mbstring","open-source","phone-number","php","regex","regexp","slack","telegram","text-analysis","uuid"],"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/MakarMS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-23T22:08:45.000Z","updated_at":"2026-03-16T18:26:00.000Z","dependencies_parsed_at":"2025-07-24T01:18:15.448Z","dependency_job_id":"589e4849-7876-4e13-9561-9360a814a249","html_url":"https://github.com/MakarMS/text-probe","commit_stats":null,"previous_names":["makarms/text-probe"],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/MakarMS/text-probe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakarMS%2Ftext-probe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakarMS%2Ftext-probe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakarMS%2Ftext-probe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakarMS%2Ftext-probe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MakarMS","download_url":"https://codeload.github.com/MakarMS/text-probe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakarMS%2Ftext-probe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34127345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":["addresses-parsing","contributions-welcome","datetime","discord","email","good-first-contribution","good-first-issue","good-first-pr","help-wanted","mbstring","open-source","phone-number","php","regex","regexp","slack","telegram","text-analysis","uuid"],"created_at":"2025-10-05T07:08:29.033Z","updated_at":"2026-06-09T22:00:28.627Z","avatar_url":"https://github.com/MakarMS.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TextProbe\n\n[![PHP Version Require](http://poser.pugx.org/makarms/text-probe/require/php)](https://packagist.org/packages/makarms/text-probe) [![Latest Stable Version](http://poser.pugx.org/makarms/text-probe/v)](https://packagist.org/packages/makarms/text-probe) [![PHP Tests](https://github.com/MakarMS/text-probe/actions/workflows/php-tests.yml/badge.svg?branch=main)](https://github.com/MakarMS/text-probe/actions/workflows/php-tests.yml) [![codecov](https://codecov.io/github/MakarMS/text-probe/graph/badge.svg?token=HFDSEGHGH4)](https://codecov.io/github/MakarMS/text-probe) [![License](http://poser.pugx.org/makarms/text-probe/license)](https://packagist.org/packages/makarms/text-probe)\n\n**TextProbe** is a simple and extensible PHP library for text analysis and pattern matching. Designed to help\ndevelopers probe, parse, and manipulate text efficiently using customizable rules and matchers.\n\n## Features\n\n- 🧠 Easy-to-use API for text matching and parsing\n- 🔧 Extensible architecture — write your own matchers and rules\n- 💡 Suitable for parsing logs, user input, or any structured text\n\n## Installation\n\nYou can install the library via [Composer](https://getcomposer.org/):\n\n```bash\ncomposer require makarms/text-probe\n```\n\n## Available Probes\n\nTextProbe includes a wide range of built-in probes. Probes are fully extensible and support custom validation via the `IProbe` and `IValidator` interfaces.\nSee the [Probe Index](docs/probes.md) for the full categorized list.\n\n## Usage\n\n```php\nrequire __DIR__ . '/vendor/autoload.php';\n\nuse TextProbe\\TextProbe;\nuse TextProbe\\Probes\\Contact\\EmailProbe;\n\n$text = \"Please contact us at info@example.com for more details.\";\n\n$probe = new TextProbe();\n$probe-\u003eaddProbe(new EmailProbe());\n\n$results = $probe-\u003eanalyze($text);\n\nforeach ($results as $result) {\n    echo sprintf(\n        \"[%s] %s (position %d-%d)\\n\",\n        $result-\u003egetProbeType()-\u003ename,\n        $result-\u003egetResult(),\n        $result-\u003egetStart(),\n        $result-\u003egetEnd()\n    );\n}\n\necho $probe-\u003ereplace($text, '*email*');\n```\n\n### Expected output\n\n```text\n[EMAIL] info@example.com (position 21-37)\nPlease contact us at *email* for more details.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakarms%2Ftext-probe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakarms%2Ftext-probe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakarms%2Ftext-probe/lists"}