{"id":29420040,"url":"https://github.com/allebb/linguist","last_synced_at":"2025-07-12T01:15:27.993Z","repository":{"id":30911465,"uuid":"34469305","full_name":"allebb/linguist","owner":"allebb","description":"Linguist is a PHP library for parsing strings, it can extract and manipulate prefixed words in content ideal for working with @mentions, #topics and custom tags!","archived":false,"fork":false,"pushed_at":"2022-12-28T11:58:23.000Z","size":84,"stargazers_count":20,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-01T09:26:32.536Z","etag":null,"topics":["hashtag","php","string","string-matching","string-search","tags","textextracting","twitter"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allebb.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":"2015-04-23T16:52:23.000Z","updated_at":"2024-09-19T22:32:26.000Z","dependencies_parsed_at":"2023-01-14T17:56:31.833Z","dependency_job_id":null,"html_url":"https://github.com/allebb/linguist","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/allebb/linguist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allebb%2Flinguist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allebb%2Flinguist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allebb%2Flinguist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allebb%2Flinguist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allebb","download_url":"https://codeload.github.com/allebb/linguist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allebb%2Flinguist/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264922927,"owners_count":23683707,"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":["hashtag","php","string","string-matching","string-search","tags","textextracting","twitter"],"created_at":"2025-07-12T01:15:26.612Z","updated_at":"2025-07-12T01:15:27.955Z","avatar_url":"https://github.com/allebb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linguist\n\n[![Build](https://github.com/allebb/linguist/workflows/build/badge.svg)](https://github.com/allebb/linguist/actions)\n[![Code Coverage](https://codecov.io/gh/allebb/linguist/branch/master/graph/badge.svg)](https://codecov.io/gh/allebb/linguist)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/allebb/linguist/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/allebb/linguist/?branch=master)\n[![Code Climate](https://codeclimate.com/github/allebb/linguist/badges/gpa.svg)](https://codeclimate.com/github/allebb/linguist)\n[![Latest Stable Version](https://poser.pugx.org/ballen/linguist/v/stable)](https://packagist.org/packages/ballen/linguist)\n[![Latest Unstable Version](https://poser.pugx.org/ballen/linguist/v/unstable)](https://packagist.org/packages/ballen/linguist)\n[![License](https://poser.pugx.org/ballen/linguist/license)](https://packagist.org/packages/ballen/linguist)\n\nLinguist is a PHP library for parsing strings, it can extract and manipulate prefixed words in content ideal for working with @mentions, #topics and custom tags!\n\nRequirements\n------------\n\n* PHP \u003e= 7.3.0\n\nThis library is unit tested against PHP 7.3, 7.4, 8.0, 8.1 and 8.2!\n\nIf you need to use an older version of PHP, you should instead install the 1.x version of this library (see below for details).\n\nLicense\n-------\n\nThis library is released under the [GPLv3](https://raw.githubusercontent.com/allebb/linguist/master/LICENSE) license, you are welcome to use it, improve it and contribute your changes back!\n\nInstallation\n------------\n\nThe recommended way of installing this library is via. [Composer](http://getcomposer.org); To install using Composer type the following command at the console:\n\n```shell\ncomposer require ballen/linguist\n```\n\n**If you need to use an older version of PHP, version 1.x.x supports PHP 5.6, 7.0, 7.1 and 7.2, you can install this version using Composer with this command instead:**\n\n```shell\ncomposer require ballen/linguist ^1.0\n```\n\n\nExamples\n--------\n\nA set of working examples can be found in the ``/examples`` directory.\n\nTests and coverage\n------------------\n\nThis library is fully unit tested using [PHPUnit](https://phpunit.de/).\n\nI use [GitHub Actions](https://github.com/) for continuous integration, which triggers tests for PHP 7.3, 7.4, 8.0, 8.1 and 8.2 every time a commit is pushed.\n\nIf you wish to run the tests yourself you should run the following:\n\n```shell\n# Install the Linguist Library with the 'development' packages this then includes PHPUnit!\ncomposer install\n\n# Now we run the unit tests (from the root of the project) like so:\n./vendor/bin/phpunit\n```\n\nCode coverage can also be run but requires XDebug installed...\n\n```shell\n./vendor/bin/phpunit --coverage-html ./report\n```\n\nSupport\n-------\n\nI am happy to provide support via. my personal email address, so if you need a hand drop me an email at: [ballen@bobbyallen.me]().\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallebb%2Flinguist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallebb%2Flinguist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallebb%2Flinguist/lists"}