{"id":19196967,"url":"https://github.com/jitesoft/php-math","last_synced_at":"2025-08-19T09:12:49.586Z","repository":{"id":56999408,"uuid":"101551789","full_name":"jitesoft/php-math","owner":"jitesoft","description":"Math lib for PHP","archived":false,"fork":false,"pushed_at":"2017-09-10T19:33:35.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-31T17:27:11.734Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jitesoft.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":"2017-08-27T12:46:56.000Z","updated_at":"2017-08-27T13:25:47.000Z","dependencies_parsed_at":"2022-08-21T13:50:56.153Z","dependency_job_id":null,"html_url":"https://github.com/jitesoft/php-math","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jitesoft/php-math","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fphp-math","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fphp-math/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fphp-math/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fphp-math/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jitesoft","download_url":"https://codeload.github.com/jitesoft/php-math/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitesoft%2Fphp-math/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271128860,"owners_count":24703879,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-09T12:15:01.798Z","updated_at":"2025-08-19T09:12:49.565Z","avatar_url":"https://github.com/jitesoft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Math\n\n[![Build Status](https://img.shields.io/travis/jitesoft/php-math/master.svg?label=master)](https://travis-ci.org/jitesoft/php-math)  \n\n[![Build Status](https://img.shields.io/travis/jitesoft/php-math/develop.svg?label=develop)](https://travis-ci.org/jitesoft/php-math)\n\n[![Dependency Status](https://gemnasium.com/badges/github.com/jitesoft/php-math.svg)](https://gemnasium.com/github.com/jitesoft/php-math)\n\n[![codecov](https://codecov.io/gh/jitesoft/php-math/branch/master/graph/badge.svg)](https://codecov.io/gh/jitesoft/php-math)\n\n\nA Math library for php 7.1+.  \nThis lib was extracted from the `Jitesoft\\Utilities\\DataStructures` project.\n\n## Installation\n\nClone the repository or install with composer.  \n\n```bash\ncomposer require jitesoft/math\n```\n\n\n## Implemented classes\n\n`Jitesoft\\Utilities\\Math`\n \n* `Math`        - Misc static math helpers.\n* `Point2D`     - A point structure in 2D space.\n* `Point3D`     - A point structure in 3D space.\n* `Vector2D`    - A vector structure in 2D space.\n* `Vector3D`    - A vector structure in 3D space.\n* `Vector4D`    - A vector structure in 4D space.\n* `VectorMath`  - Common math for all vector types.\n* `Matrix33`    - A matrix structure with 3*3 indexes.\n* `Matrix44`    - A matrix structure with 4*4 indexes.\n* `MatrixMath`  - Common math for all matrices.\n\n## License\n\n```text\nMIT License\n\nCopyright (c) 2017 Jitesoft\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.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitesoft%2Fphp-math","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjitesoft%2Fphp-math","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitesoft%2Fphp-math/lists"}