{"id":18737913,"url":"https://github.com/technodelight/bytes-in-human","last_synced_at":"2025-11-17T20:30:18.015Z","repository":{"id":57066132,"uuid":"138042352","full_name":"technodelight/bytes-in-human","owner":"technodelight","description":"Render bytes in human readable format with using a simple value object","archived":false,"fork":false,"pushed_at":"2018-06-20T14:49:54.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T17:28:17.019Z","etag":null,"topics":["human-computer-interaction","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/technodelight.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}},"created_at":"2018-06-20T14:14:53.000Z","updated_at":"2018-06-20T14:40:28.000Z","dependencies_parsed_at":"2022-08-24T14:53:59.850Z","dependency_job_id":null,"html_url":"https://github.com/technodelight/bytes-in-human","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technodelight%2Fbytes-in-human","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technodelight%2Fbytes-in-human/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technodelight%2Fbytes-in-human/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technodelight%2Fbytes-in-human/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technodelight","download_url":"https://codeload.github.com/technodelight/bytes-in-human/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239611969,"owners_count":19668276,"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":["human-computer-interaction","php"],"created_at":"2024-11-07T15:27:23.706Z","updated_at":"2025-11-17T20:30:17.981Z","avatar_url":"https://github.com/technodelight.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bytes-in-human\nRender bytes in human readable format with using a simple value object\n\n## Installation\n\nWith composer, simply:\n```\ncomposer require technodelight/bytes-in-human\n```\n\n## Usage\n\n Using this library is as simple as:\n \n ```\n \u003c?php\n \n use Technodelight\\BytesInHuman\\BytesInHuman;\n \n $bytes = BytesInHuman::fromBytes(1024);\n echo $bytes-\u003easString(); // 1.00K\n echo $bytes; // 1.00K, as it's converted to string with __toString magic method \n ```\n \n# License\nThe MIT License (MIT)\n\nCopyright (c) 2015-2018 Zsolt Gál\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnodelight%2Fbytes-in-human","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnodelight%2Fbytes-in-human","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnodelight%2Fbytes-in-human/lists"}