{"id":25531918,"url":"https://github.com/m-ah07/text-analysis-service-php","last_synced_at":"2026-02-12T05:04:27.014Z","repository":{"id":266589162,"uuid":"898778673","full_name":"m-ah07/text-analysis-service-php","owner":"m-ah07","description":"Text Analysis Service is a lightweight PHP tool that provides detailed analysis of text.","archived":false,"fork":false,"pushed_at":"2025-02-15T07:20:14.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T11:36:17.618Z","etag":null,"topics":["developer-tools","language-detection","nlp-tools","open-source","open-source-php","php","php-library","php-scripts","text-analysis","text-mining","text-utilities","word-analysis"],"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/m-ah07.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,"zenodo":null}},"created_at":"2024-12-05T02:41:26.000Z","updated_at":"2025-02-15T07:20:18.000Z","dependencies_parsed_at":"2024-12-05T03:27:17.443Z","dependency_job_id":"60f28497-7997-4e7c-b40b-5f7558ca28a7","html_url":"https://github.com/m-ah07/text-analysis-service-php","commit_stats":null,"previous_names":["marwan-ahmed-23/text-analysis-service-php","m-ah07/text-analysis-service-php"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/m-ah07/text-analysis-service-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-ah07%2Ftext-analysis-service-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-ah07%2Ftext-analysis-service-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-ah07%2Ftext-analysis-service-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-ah07%2Ftext-analysis-service-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-ah07","download_url":"https://codeload.github.com/m-ah07/text-analysis-service-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-ah07%2Ftext-analysis-service-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29359360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T01:03:07.613Z","status":"online","status_checked_at":"2026-02-12T02:00:06.911Z","response_time":55,"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":["developer-tools","language-detection","nlp-tools","open-source","open-source-php","php","php-library","php-scripts","text-analysis","text-mining","text-utilities","word-analysis"],"created_at":"2025-02-20T01:42:18.254Z","updated_at":"2026-02-12T05:04:26.990Z","avatar_url":"https://github.com/m-ah07.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Text Analysis Service (php)\n\nText Analysis Service is a lightweight PHP service designed to analyze textual data efficiently. This tool provides functionalities to extract insights such as:\n\n- Word count\n- Character count (excluding spaces)\n- Sentence count\n\nIt serves as a quick solution for developers who need text analysis capabilities in their applications. The modular structure allows for easy integration and expansion of additional features in the future.\n\n---\n\n## Features\n- Count the number of words in a text.\n- Count the number of characters (excluding spaces).\n- Count the number of sentences.\n\n## Installation\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/m-ah07/text-analysis-service-php.git\n    ```\n2. Navigate to the project directory.\n\n## Usage\nHere’s a simple example of how to use the Text Analysis Service:\n\n```bash\nrequire_once 'src/TextAnalyzer.php';\n\nuse TextAnalysis\\TextAnalyzer;\n\n$text = \"This is a sample text.\";\n\n$analysis = TextAnalyzer::analyze($text);\n\necho \"Word Count: \" . $analysis['word_count'] . \"\\n\";\n```\n\n## Directory Structure\n```plaintext\ntext-analysis-service-php/\n├── src/\n│   └── TextAnalyzer.php\n├── examples/\n│   └── example.php\n├── LICENSE\n├── README.md\n└── .gitignore\n```\n\n## Contributing\nFeel free to fork this repository and submit pull requests to enhance functionality or add features.\n\n## Show Your Support\nIf you found this project helpful, please consider giving it a ⭐ on GitHub. Your support means the world to us!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-ah07%2Ftext-analysis-service-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-ah07%2Ftext-analysis-service-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-ah07%2Ftext-analysis-service-php/lists"}