{"id":36980942,"url":"https://github.com/techarealab/phuzzy","last_synced_at":"2026-01-13T22:50:43.471Z","repository":{"id":57066062,"uuid":"90234748","full_name":"techarealab/phuzzy","owner":"techarealab","description":"Phuzzy adalah sebuah library PHP untuk algoritma fuzzy","archived":false,"fork":false,"pushed_at":"2017-05-04T09:39:17.000Z","size":7,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-02T20:46:56.034Z","etag":null,"topics":["fuzzy","fuzzy-logic","php","php-library","phuzzy"],"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/techarealab.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-05-04T07:34:56.000Z","updated_at":"2023-02-18T16:32:18.000Z","dependencies_parsed_at":"2022-08-24T14:53:59.303Z","dependency_job_id":null,"html_url":"https://github.com/techarealab/phuzzy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/techarealab/phuzzy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techarealab%2Fphuzzy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techarealab%2Fphuzzy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techarealab%2Fphuzzy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techarealab%2Fphuzzy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techarealab","download_url":"https://codeload.github.com/techarealab/phuzzy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techarealab%2Fphuzzy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28402159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fuzzy","fuzzy-logic","php","php-library","phuzzy"],"created_at":"2026-01-13T22:50:42.776Z","updated_at":"2026-01-13T22:50:43.463Z","avatar_url":"https://github.com/techarealab.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phuzzy\n\nPhuzzy adalah sebuah library PHP untuk algoritma fuzzy\n\n## Installation\n\n```bash\ncomposer require techarea/phuzzy\n```\n\n## Contoh penggunaan\n\n- Buatlah object baru\n\n```php\n$phuzzy = new Techarea\\Phuzzy\\Phuzzy;\n```\n\n- Masukkan nama variabel input (huruf kecil semua dan tanpa spasi)\n\n```php\n$phuzzy-\u003esetInputNames(['var1', 'var2']);\n```\n\n- Masukkan nama variabel output (huruf kecil semua dan tanpa spasi)\n\n```php\n$phuzzy-\u003esetOutputNames(['var1', 'var2']);\n```\n\n- Tambahkan membership variabel\n\n\u003e tipe himpunan: 'LEFT_INFINITY', 'TRIANGLE', 'TRAPEZOID', 'RIGHT_INFINITY'\n\n\u003e semua titik berupa integer/float kecuali titik tengah bisa array jika tipe 'TRAPEZOID'\n\n```php\n$phuzzy-\u003eaddMember('variabel', 'himpunan',  'titik_awal', 'titik_tengah', 'titik_akhir', 'tipe_himpunan');\n```\n\n- Menambahkan rules\n\n```php\n$phuzzy-\u003eaddRule('IF variabel.himpunan AND variabel.himpunan THEN variabel.himpunan');\n```\n\n- Memasukkan nilai variabel\n\n```php\n$phuzzy-\u003esetRealInput('variabel', 'nilai');\n```\n\n- Menjalankan proses fuzzy\n\n```php\n$result = $phuzzy-\u003eExecute();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftecharealab%2Fphuzzy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftecharealab%2Fphuzzy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftecharealab%2Fphuzzy/lists"}