{"id":27097383,"url":"https://github.com/baha2rm98/phpmath","last_synced_at":"2025-10-07T15:05:33.984Z","repository":{"id":62491207,"uuid":"207182226","full_name":"Baha2rM98/PHPMath","owner":"Baha2rM98","description":"A powerful Math Library for PHP!","archived":false,"fork":false,"pushed_at":"2019-11-14T01:27:28.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T10:45:40.406Z","etag":null,"topics":["math-library","php-librarry"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/baha2rmirzazadeh/phpmath","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/Baha2rM98.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-09-08T22:36:37.000Z","updated_at":"2019-11-14T01:27:30.000Z","dependencies_parsed_at":"2022-11-02T11:03:43.148Z","dependency_job_id":null,"html_url":"https://github.com/Baha2rM98/PHPMath","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Baha2rM98/PHPMath","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Baha2rM98%2FPHPMath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Baha2rM98%2FPHPMath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Baha2rM98%2FPHPMath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Baha2rM98%2FPHPMath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Baha2rM98","download_url":"https://codeload.github.com/Baha2rM98/PHPMath/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Baha2rM98%2FPHPMath/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259949685,"owners_count":22936412,"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":["math-library","php-librarry"],"created_at":"2025-04-06T10:40:07.986Z","updated_at":"2025-10-07T15:05:28.919Z","avatar_url":"https://github.com/Baha2rM98.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"PHPMath\n=======\nThis library contains efficient classes and methods to calculate mathematical things.\n\nFeatures\n--------\nSome of this facilities is solving system of equations, linear, quadratic and cubic equation solver,\nwork with prime numbers and etc.\n\nYou can find more information in documentation.\n\n**[Statistics Class] will be add soon**\n\nInstallation\n------------\nUse [Composer] to install the package:\n\n```\n$ composer require baha2rmirzazadeh/phpmath\n```\n\nExample\n-------\n\n```php\nuse PHPMath\\Math\\Math;\nuse PHPMath\\Algebra\\Algebra;\nuse PHPMath\\Algebra\\MatrixFactory;\n\n$math = new Math();\nprint_r($math-\u003eProbablePrimeNumbersList(20000, 185));\nprint_r($math-\u003edividable(1858));\n\n$algebra = new Algebra();\nprint_r($algebra-\u003esystemOfLinearEquation([[2, -4, 5], [4, -1, 0], [-2, 2, -3]], [[-33], [-5], [19]]));\nprint_r($algebra-\u003ecubicEquation(1, 2, -1, -2));\n\n$matrix = new MatrixFactory();\nprint_r($matrix-\u003etranspose([[2, 4, 6, -4], [3, 4, 5, 0]]));\nprint_r($matrix-\u003emultiply($matrix-\u003einverse([[1, 2], [3, 4]]), [[1, 2], [3, 4]]));\nprint_r($matrix-\u003ereShape([1, 2, 4, 5, 8, 9], 2, 3));\n```\n\n### Classes and Methods description\nAll of classes and methods have documentation, you can read them and figure out how they work\n\nAuthors\n-------\n\n* [Bahador Mirzazadeh]\n* E-Mail: [baha2r.mirzazadeh98@gmail.com]\n\nLicense\n-------\n\nAll contents of this package library are licensed under the [MIT license].   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaha2rm98%2Fphpmath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaha2rm98%2Fphpmath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaha2rm98%2Fphpmath/lists"}