{"id":18499731,"url":"https://github.com/alustau/math","last_synced_at":"2026-04-17T12:32:52.214Z","repository":{"id":56946447,"uuid":"128114917","full_name":"alustau/math","owner":"alustau","description":null,"archived":false,"fork":false,"pushed_at":"2018-04-04T20:57:10.000Z","size":15,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T01:25:56.764Z","etag":null,"topics":["composer","interview","jobs","math","php7","phpunit"],"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/alustau.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":"2018-04-04T20:01:20.000Z","updated_at":"2023-04-12T13:22:04.000Z","dependencies_parsed_at":"2022-08-21T07:20:27.377Z","dependency_job_id":null,"html_url":"https://github.com/alustau/math","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/alustau%2Fmath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alustau%2Fmath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alustau%2Fmath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alustau%2Fmath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alustau","download_url":"https://codeload.github.com/alustau/math/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254084608,"owners_count":22011908,"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":["composer","interview","jobs","math","php7","phpunit"],"created_at":"2024-11-06T13:47:05.603Z","updated_at":"2026-04-17T12:32:47.190Z","avatar_url":"https://github.com/alustau.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Math\nThis is a project with goals to help developers.\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n\n## Features\n\n* Prime Number Calculator\n\n## Installation through Composer\n\n```shell\n$ composer require alustau/math \n```\n\n## Usage\nIt's easy to use, see to example below:\n\n```php\n\nuse Math\\PrimeNumber;\n\n$math = new PrimeNumber();\n\n$math-\u003eisPrime(11); // true\n\n//add a range from 1 to 100\n$math-\u003esetNumbers(range(1,100));\n\n$math-\u003egetPrimes(); // [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97]\n\n$math-\u003ecount();// 25\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falustau%2Fmath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falustau%2Fmath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falustau%2Fmath/lists"}