{"id":17035659,"url":"https://github.com/prinsfrank/measurement-unit","last_synced_at":"2025-04-12T12:32:06.472Z","repository":{"id":61660480,"uuid":"546180901","full_name":"PrinsFrank/measurement-unit","owner":"PrinsFrank","description":"A collection of measurement units for easy conversion and typed code (Weight, Volume, Length, Time, Speed \u0026 more!)","archived":false,"fork":false,"pushed_at":"2025-03-14T15:21:59.000Z","size":350,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T07:21:12.028Z","etag":null,"topics":["hacktoberfest","php","speed","time","torque","volume","weight"],"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/PrinsFrank.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,"publiccode":null,"codemeta":null},"funding":{"github":"PrinsFrank"}},"created_at":"2022-10-05T17:04:39.000Z","updated_at":"2025-03-14T15:19:05.000Z","dependencies_parsed_at":"2024-08-11T20:31:10.720Z","dependency_job_id":"696a228d-2096-4d15-b4eb-75a80e71a583","html_url":"https://github.com/PrinsFrank/measurement-unit","commit_stats":{"total_commits":86,"total_committers":1,"mean_commits":86.0,"dds":0.0,"last_synced_commit":"9c9c4685cdfeaab9dbe7124e464ab56c497f08c2"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrinsFrank%2Fmeasurement-unit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrinsFrank%2Fmeasurement-unit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrinsFrank%2Fmeasurement-unit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrinsFrank%2Fmeasurement-unit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrinsFrank","download_url":"https://codeload.github.com/PrinsFrank/measurement-unit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248566579,"owners_count":21125690,"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":["hacktoberfest","php","speed","time","torque","volume","weight"],"created_at":"2024-10-14T08:47:39.050Z","updated_at":"2025-04-12T12:32:06.466Z","avatar_url":"https://github.com/PrinsFrank.png","language":"PHP","funding_links":["https://github.com/sponsors/PrinsFrank"],"categories":[],"sub_categories":[],"readme":"\u003cpicture\u003e\n    \u003csource srcset=\"docs/images/banner_dark.png\" media=\"(prefers-color-scheme: dark)\"\u003e\n    \u003cimg src=\"docs/images/banner_light.png\" alt=\"Banner\"\u003e\n\u003c/picture\u003e\n\n# Measurement-unit\n\n![GitHub](https://img.shields.io/github/license/prinsfrank/measurement-unit)\n![PHP Version Support](https://img.shields.io/packagist/php-v/prinsfrank/measurement-unit)\n[![codecov](https://codecov.io/gh/PrinsFrank/measurement-unit/branch/main/graph/badge.svg?token=9O3VB563MU)](https://codecov.io/gh/PrinsFrank/measurement-unit)\n\n## Setup\n\n\u003e **Note**\n\u003e Make sure you are running PHP 8.1 or higher to use this package\n\nTo use this package in your project, run the following command:\n\n```shell\ncomposer require prinsfrank/measurement-unit\n```\n\n## Provided units\n\n| Type        | Available unit                                                                                                    |\n|-------------|-------------------------------------------------------------------------------------------------------------------|\n| Length      | Centimeter, Fathom, Foot, Furlong, HorseLength, Inch, Kilometer, Meter, Millimeter, NauticalMile, StatuteMile, SurveyMile, Thou, Yard     |\n| Pressure    | Bar, Hectopascal, Kilopascal, Millibar, MillimetreOfMercury, Pascal, PoundPerSquareInch, StandardAtmosphere, Torr | \n| Speed       | KilometerPerHour, Knot, MeterPerSecond, MilesPerHour                                                              |\n| Temperature | Celsius, Fahrenheit, Kelvin, Rankine                                                                              |\n| Time        | Day, Hour, Minute, Second                                                                                         |\n| Torque      | NewtonMeter                                                                                                       |\n| Volume      | CubicInch, CubicMeter, CubicYard, FluidDram, FluidOunce, Liter, Pint, Quart, TableSpoon                           |\n| Weight      | Kilogram, MetricTon, Pound                                                                                        |\n\nAll the units of a type can be converted to each other with corresponding methods.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprinsfrank%2Fmeasurement-unit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprinsfrank%2Fmeasurement-unit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprinsfrank%2Fmeasurement-unit/lists"}