{"id":25762322,"url":"https://github.com/aternus/stringy-patterns","last_synced_at":"2026-05-16T19:02:27.955Z","repository":{"id":62489102,"uuid":"115825228","full_name":"Aternus/stringy-patterns","owner":"Aternus","description":"A PHP string pattern detection library with multibyte support","archived":false,"fork":false,"pushed_at":"2018-09-09T10:22:46.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T14:51:25.876Z","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/Aternus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-12-30T21:27:57.000Z","updated_at":"2018-09-09T10:22:42.000Z","dependencies_parsed_at":"2022-11-02T10:01:04.499Z","dependency_job_id":null,"html_url":"https://github.com/Aternus/stringy-patterns","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Aternus/stringy-patterns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aternus%2Fstringy-patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aternus%2Fstringy-patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aternus%2Fstringy-patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aternus%2Fstringy-patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aternus","download_url":"https://codeload.github.com/Aternus/stringy-patterns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aternus%2Fstringy-patterns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33115437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"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":"2025-02-26T19:40:17.127Z","updated_at":"2026-05-16T19:02:27.919Z","avatar_url":"https://github.com/Aternus.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stringy Patterns\n\nA PHP string pattern detection library with multibyte support.\n\n```php\nuse Stringy\\Patterns as P;\n\n// get all patterns\n$results_array = P::create('abcdabcdab')-\u003egetPatterns();\n\n// get all patterns, include single occurrences\n$results_array = P::create('abcdabcdab')-\u003egetPatterns(true);\n```\n\n* [Why?](#why)\n* [Installation](#installation)\n* [Other Useful Libraries](#other-useful-libraries)\n* [License](#license)\n\n\n## Why?\n\nPatterns are all around us, perhaps _you_ will find something useful.\n\n\n## Installation\n\nIf you're using Composer to manage dependencies:\n```\ncomposer require aternus/stringy-patterns\n```\n\nThen, after running `composer update`, you can load the class using Composer's autoloading:\n\n```php\nrequire 'vendor/autoload.php';\n```\n\nOtherwise, you can simply require the file directly:\n\n```php\nrequire_once 'vendor/aternus/stringy-patterns/src/Patterns.php';\n```\n\nAnd in either case, I'd suggest using an alias.\n\n```php\nuse Stringy\\Patterns as P;\n```\n\nPlease note that Stringy Patterns relies on the `mbstring` module for its underlying\nmultibyte support. If the module is not found, and as long as you've installed\nStringy Patterns using composer, Stringy Patterns will use\n[symfony/polyfill-mbstring](https://github.com/symfony/polyfill-mbstring).\nFor OSX users, it's a default for any version of PHP installed with homebrew.\nIf compiling PHP from scratch, it can be included with the `--enable-mbstring` flag.\n\n\n## Other Useful Libraries\n\n* [Stringy](https://github.com/danielstjules/Stringy):\nA PHP string manipulation library with multibyte support\n\n\n## License\n\nReleased under the MIT License - see `LICENSE.md` for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faternus%2Fstringy-patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faternus%2Fstringy-patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faternus%2Fstringy-patterns/lists"}