{"id":33956609,"url":"https://github.com/sam016/php-textwrap","last_synced_at":"2026-04-10T10:32:51.052Z","repository":{"id":62539713,"uuid":"204159879","full_name":"sam016/php-textwrap","owner":"sam016","description":"PHP TextWrapper library inspired by python's textwrap","archived":false,"fork":false,"pushed_at":"2020-10-06T07:06:37.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-14T09:23:21.114Z","etag":null,"topics":["php","php7","text-wrap"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/sam016.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":"2019-08-24T13:19:49.000Z","updated_at":"2020-10-06T07:06:40.000Z","dependencies_parsed_at":"2022-11-02T16:16:10.604Z","dependency_job_id":null,"html_url":"https://github.com/sam016/php-textwrap","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sam016/php-textwrap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam016%2Fphp-textwrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam016%2Fphp-textwrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam016%2Fphp-textwrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam016%2Fphp-textwrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sam016","download_url":"https://codeload.github.com/sam016/php-textwrap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam016%2Fphp-textwrap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31638482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"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":["php","php7","text-wrap"],"created_at":"2025-12-12T20:40:40.202Z","updated_at":"2026-04-10T10:32:51.046Z","avatar_url":"https://github.com/sam016.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-textwrap\n\n- [Introduction](#Introduction)\n- [Requirements](#Requirements)\n- [Installation](#Installation)\n- [Development](#Development)\n  - [Setup](Setup)\n  - [Docker shell](#Docker-shell)\n- [Tests](#Tests)\n- [Issues](#Issues)\n\n## Introduction\n\n**php-textwrap** is the library inspired by [Python](https://docs.python.org/)'s [textwrap](https://docs.python.org/3.1/library/textwrap.html)\n\n## Requirements\n\nOnly requirement:\n\n    php \u003e= 7.2\n\n## Installation\n\n    composer require sam016/php-textwrap\n\n## Development\n\n### Setup\n\n1. Build the docker container\n\n    `docker-compose build`\n\n2. Start the docker container\n\n    `docker-compose up`\n\n### Docker shell\n\nUse the following command to execute inside the docker container\n\n`docker exec -it $(docker ps -aqf 'name=textwrap') bash`\n\n## Tests\n\nUse the following command inside the container to run the test cases\n\n`composer test`\n\nUse the following command from host machine to run the test cases\n\n`docker exec -it $(docker ps -aqf 'name=textwrap') composer test`\n\n## Issues\n\nGuidelines for raising the bugs:\n\n1. Please check the existing issues in the **Issues** section before creating a new one.\n2. State\n    - reproduction steps\n    - library version\n    - php version\n    - crystal clear description about issue\n    - did it just get too much?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsam016%2Fphp-textwrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsam016%2Fphp-textwrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsam016%2Fphp-textwrap/lists"}