{"id":17437092,"url":"https://github.com/nabeghe/stringer-php","last_synced_at":"2026-02-12T05:04:21.696Z","repository":{"id":257828513,"uuid":"873581136","full_name":"nabeghe/stringer-php","owner":"nabeghe","description":"A string helper for PHP. It includes some useful methods and possibly other features.","archived":false,"fork":false,"pushed_at":"2025-11-08T02:38:32.000Z","size":35,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-08T04:17:00.080Z","etag":null,"topics":["php","string","string-helper","strings","text","texthelper"],"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/nabeghe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-16T12:09:27.000Z","updated_at":"2025-11-08T02:36:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"270ccbc8-5117-4b9c-9e9a-680b626aa657","html_url":"https://github.com/nabeghe/stringer-php","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"826ddaf7c766a4803406a3f6988a3816b160f7e1"},"previous_names":["nabeghe/stringer-php"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/nabeghe/stringer-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabeghe%2Fstringer-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabeghe%2Fstringer-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabeghe%2Fstringer-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabeghe%2Fstringer-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nabeghe","download_url":"https://codeload.github.com/nabeghe/stringer-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nabeghe%2Fstringer-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":["php","string","string-helper","strings","text","texthelper"],"created_at":"2024-10-17T11:05:42.728Z","updated_at":"2026-02-12T05:04:21.690Z","avatar_url":"https://github.com/nabeghe.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stringer (String Helper for PHP ≥ 7.4) \n\n\u003e A string helper for PHP. It includes some useful methods and possibly other features.\n\nSome of the methods from the Str class of the Laravel framework are also included in this library;\nhowever, some of them have been modified.\n\n## 🫡 Usage\n\n### 🚀 Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require nabeghe/stringer\n```\n\n### Str Class\n\nThe main class that includes the useful methods is `Nabegh\\String\\Str`.\n\n#### Example:\n\n```php\nuse Nabeghe\\Stringer\\Str;\n\necho Str::random(32);\necho Str::random(32, '0123456789');\n```\n\n### UnicodeControls Class\n\nA class that includes some Unicode control characters;\nfor example, the invisible character, or the right-to-left and left-to-right markers.\n\n```php\nuse Nabeghe\\Stringer\\UnicodeControls;\n\necho UnicodeControls::ISS; // Invisible\n```\n\n### Stringer Class\n\nA string class.\n\nAccepts any value, converts it to a string via strval, stores it, and returns it via __toString.\n\nIt is possible to access the methods of the `Str` class through the `Stringer` object as well, with the difference that the main text parameter is no longer present.\n\n```php\nuse Nabeghe\\Stringer\\Stringer;\n\n$string = new Stringer('In programming, a string is a sequence of characters, and string manipulation processes these characters.');\necho $string-\u003eafter('string ')-\u003ebefore(','); // `is a sequence of characters`\n```\n\n## 📖 License\n\nLicensed under the MIT license, see [LICENSE.md](LICENSE.md) for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnabeghe%2Fstringer-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnabeghe%2Fstringer-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnabeghe%2Fstringer-php/lists"}