{"id":14985409,"url":"https://github.com/ludovicm67/php-strings","last_synced_at":"2026-03-08T01:06:33.240Z","repository":{"id":38107989,"uuid":"104995979","full_name":"ludovicm67/php-strings","owner":"ludovicm67","description":"Some useful functions for working with strings","archived":false,"fork":false,"pushed_at":"2026-01-28T06:19:20.000Z","size":471,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-28T22:35:33.735Z","etag":null,"topics":["camelcase","composer","composer-package","ludovicm67","php","php-library","php8","string","strings"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/ludovicm67/strings#dev-main","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/ludovicm67.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-09-27T08:58:25.000Z","updated_at":"2026-01-28T06:19:17.000Z","dependencies_parsed_at":"2025-07-14T17:36:47.210Z","dependency_job_id":"62c97230-03e0-4011-a11d-6dbed6772c1b","html_url":"https://github.com/ludovicm67/php-strings","commit_stats":{"total_commits":30,"total_committers":2,"mean_commits":15.0,"dds":0.09999999999999998,"last_synced_commit":"579e7f55929e5eb90fa7991f65cea58ae3a4b32c"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ludovicm67/php-strings","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ludovicm67%2Fphp-strings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ludovicm67%2Fphp-strings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ludovicm67%2Fphp-strings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ludovicm67%2Fphp-strings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ludovicm67","download_url":"https://codeload.github.com/ludovicm67/php-strings/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ludovicm67%2Fphp-strings/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30240358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"ssl_error","status_checked_at":"2026-03-08T00:55:48.608Z","response_time":53,"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":["camelcase","composer","composer-package","ludovicm67","php","php-library","php8","string","strings"],"created_at":"2024-09-24T14:10:55.885Z","updated_at":"2026-03-08T01:06:33.223Z","avatar_url":"https://github.com/ludovicm67.png","language":"PHP","readme":"# Strings\n\n\u003e Some useful functions for working with strings\n\n[![Latest Stable Version](https://poser.pugx.org/ludovicm67/strings/v/stable)](https://packagist.org/packages/ludovicm67/strings)\n[![Total Downloads](https://poser.pugx.org/ludovicm67/strings/downloads)](https://packagist.org/packages/ludovicm67/strings)\n[![Coverage Status](https://coveralls.io/repos/github/ludovicm67/php-strings/badge.svg?branch=main)](https://coveralls.io/github/ludovicm67/php-strings?branch=main)\n\n## Installation\n\nJust run the following command: `composer require ludovicm67/strings`\nto add it to your PHP project!\n\n## Getting started\n\nIf you installed using composer, you can now create a file with the following code:\n\n```php\n\u003c?php\n\n// import here the composer autoloader\nrequire('./vendor/autoload.php');\n\n// use the namespace for this library\nuse ludovicm67\\Strings\\Strings;\n```\n\n### clean strings\n\nYou can clean strings using the static method: `Strings::clean(\"My string\")`.\n\nExample:\n\n```php\necho Strings::clean(\"test\u0026 \"\"~ \"@éa/-âå€ÊÂøÊ±æ€ûýþ\u003cb\u003ebold\u003c/b\u003e\");\n// will display: test\u0026amp; \u0026quot;\u0026quot;~ \u0026quot;@éa/-âå€ÊÂøÊ±æ€ûýþ\u0026lt;b\u0026gt;bold\u0026lt;/b\u0026gt;\n```\n\n### get a string from camelCase\n\nUsing `Strings::fromCamelCase(\"myString\")` (_will return: `my-string`_).\n\nExample:\n\n```php\necho Strings::fromCamelCase('testFromCamelCase');\n// will display: test-from-camel-case\n```\n\n### transform a string to camelCase\n\nUsing `Strings::toCamelCase(\"my-string\")` (_will return: `myString`_).\n\nExample:\n\n```php\necho Strings::toCamelCase('test-to-camel-case');\n// will display: testToCamelCase\n```\n\n## Want to contribute?\n\nJust fork, commit and open a pull-request. Or just open an issue here:\nhttps://github.com/ludovicm67/php-strings/issues .\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fludovicm67%2Fphp-strings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fludovicm67%2Fphp-strings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fludovicm67%2Fphp-strings/lists"}