{"id":15028704,"url":"https://github.com/php-polyfills/mb_trim","last_synced_at":"2025-04-09T20:30:30.030Z","repository":{"id":216460715,"uuid":"741379456","full_name":"PHP-Polyfills/mb_trim","owner":"PHP-Polyfills","description":"PHP: Provides a user-land polyfill for `mb_trim`, `mb_ltrim`, and `mb_rtrim` functions added in PHP 8.4.","archived":false,"fork":false,"pushed_at":"2024-03-07T08:05:58.000Z","size":18,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T07:47:38.225Z","etag":null,"topics":["compat","mbstring","php","php8","php84","polyfills"],"latest_commit_sha":null,"homepage":"https://php.watch/versions/8.4/mb_trim-mb_ltrim-mb_rtrim","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/PHP-Polyfills.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}},"created_at":"2024-01-10T09:21:26.000Z","updated_at":"2025-01-04T01:25:35.000Z","dependencies_parsed_at":"2024-02-17T04:38:09.336Z","dependency_job_id":null,"html_url":"https://github.com/PHP-Polyfills/mb_trim","commit_stats":null,"previous_names":["phpwatch/mb_trim-polyfill","php-polyfills/mb_trim","php-polyfills/mb_trim-polyfill"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHP-Polyfills%2Fmb_trim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHP-Polyfills%2Fmb_trim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHP-Polyfills%2Fmb_trim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHP-Polyfills%2Fmb_trim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PHP-Polyfills","download_url":"https://codeload.github.com/PHP-Polyfills/mb_trim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248107075,"owners_count":21048848,"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":["compat","mbstring","php","php8","php84","polyfills"],"created_at":"2024-09-24T20:08:55.662Z","updated_at":"2025-04-09T20:30:29.998Z","avatar_url":"https://github.com/PHP-Polyfills.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `mb_trim`, `mb_ltrim`, and `mb_rtrim` polyfills\n\n[![Latest Stable Version](https://poser.pugx.org/polyfills/mb-trim/v)](https://packagist.org/packages/polyfills/mb-trim) [![License](https://poser.pugx.org/polyfills/mb-trim/license)](https://packagist.org/packages/polyfills/mb-trim) [![PHP Version Require](https://poser.pugx.org/polyfills/mb-trim/require/php)](https://packagist.org/packages/polyfills/mb-trim)\n\nProvides user-land PHP polyfills for the [`mb_trim`, `mb_ltrim`, and `mb_rtrim` functions added in PHP 8.4](https://php.watch/versions/8.4/mb_trim-mb_ltrim-mb_rtrim).\n\nRequires PHP 8,1, 8.2 or PHP 8.3 with `mbstring` extension. Not supported on PHP 8.4 because these functions are natively implemented in PHP 8.4.\n\n## Installation\n\n```bash\ncomposer require polyfills/mb-trim\n```\n\n## Usage\n\nSimply use the `mb_trim`, `mb_ltrim`, and `mb_rtrim` functions as if they were declared already.\n\n## Contributions\n\nContributions are welcome either as a GitHub issue or a PR to this repo.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-polyfills%2Fmb_trim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-polyfills%2Fmb_trim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-polyfills%2Fmb_trim/lists"}