{"id":18473758,"url":"https://github.com/yasinkuyu/turkish.php","last_synced_at":"2026-03-04T09:02:32.828Z","repository":{"id":57086227,"uuid":"52793720","full_name":"yasinkuyu/Turkish.php","owner":"yasinkuyu","description":"Turkish Suffix Library for PHP - Türkçe Çekim ve Yapım Ekleri","archived":false,"fork":false,"pushed_at":"2024-06-14T20:24:10.000Z","size":10,"stargazers_count":63,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-14T10:46:00.530Z","etag":null,"topics":["nlp","php","stem","vowel"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yasinkuyu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-29T13:39:30.000Z","updated_at":"2025-03-13T02:47:19.000Z","dependencies_parsed_at":"2022-08-24T14:59:12.433Z","dependency_job_id":null,"html_url":"https://github.com/yasinkuyu/Turkish.php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yasinkuyu/Turkish.php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasinkuyu%2FTurkish.php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasinkuyu%2FTurkish.php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasinkuyu%2FTurkish.php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasinkuyu%2FTurkish.php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yasinkuyu","download_url":"https://codeload.github.com/yasinkuyu/Turkish.php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasinkuyu%2FTurkish.php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30076935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["nlp","php","stem","vowel"],"created_at":"2024-11-06T10:26:17.942Z","updated_at":"2026-03-04T09:02:32.806Z","avatar_url":"https://github.com/yasinkuyu.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Turkish.php\n==========\n\n### Turkish Suffix Library for PHP\n[@yasinkuyu](https://twitter.com/yasinkuyu)\n## Composer Install \n\tcomposer require yasinkuyu/turkish\n\t\n\trequire_once __DIR__ . '/vendor/autoload.php';\n    \t\t\n## Manual installation\n\trequire 'Turkish.php';\n\n## Using\n    \n\t\t$tr = new Turkish; \n\n\t\techo $tr-\u003emakeGenitive(\"Öykü\", array ( \"proper_noun\" =\u003e true ) ), PHP_EOL;\n\t\techo $tr-\u003emakeDative(\"Fatma\", array ( \"proper_noun\" =\u003e true ) ), PHP_EOL;\n\n\t\techo $tr-\u003emakeDative(\"Yasin\", array ( \"proper_noun\" =\u003e true ) ), PHP_EOL;\n\t\techo $tr-\u003emakeDative(\"ALİ\", array ( \"proper_noun\" =\u003e true ) ), PHP_EOL;\n\t\techo $tr-\u003emakeAblative(\"Ali\", array ( \"proper_noun\" =\u003e true ) ), PHP_EOL;\n\t\techo $tr-\u003emakeAccusative(\"Kaliningrad\", array ( \"proper_noun\" =\u003e true ) ), PHP_EOL;\n\n\t\techo $tr-\u003emakeDerivative(\"güneş\", array ( \"proper_noun\" =\u003e false ) ), PHP_EOL;\n\n\t\techo $tr-\u003emakeGenitive(\"ağaç\", array ( \"proper_noun\" =\u003e false ) ), PHP_EOL;\n\t\techo $tr-\u003emakeAccusative(\"erik\", array ( \"proper_noun\" =\u003e false ) ), PHP_EOL;\n\t\techo $tr-\u003emakeAccusative(\"Erik\", array ( \"proper_noun\" =\u003e true ) ), PHP_EOL;\n\n\t\techo $tr-\u003epossessiveAffix(\"kavanoz\", array ( \"person\" =\u003e \"1\", \"quantity\" =\u003e \"singular\" ) ), PHP_EOL;\n\t\techo $tr-\u003epossessiveAffix(\"kavanoz\", array (  \"person\" =\u003e \"2\", \"quantity\" =\u003e \"singular\") ), PHP_EOL;\n\t\techo $tr-\u003epossessiveAffix(\"kavanoz\", array (  \"person\" =\u003e \"3\", \"quantity\" =\u003e \"singular\") ), PHP_EOL;\n\n\t\techo $tr-\u003epossessiveAffix(\"halter\", array (  \"person\" =\u003e \"1\", \"quantity\" =\u003e \"plural\") ), PHP_EOL;\n\t\techo $tr-\u003epossessiveAffix(\"halter\", array (  \"person\" =\u003e \"2\", \"quantity\" =\u003e \"plural\") ), PHP_EOL;\n\t\techo $tr-\u003epossessiveAffix(\"halter\", array (  \"person\" =\u003e \"3\", \"quantity\" =\u003e \"plural\") ), PHP_EOL;\n\n\t\techo $tr-\u003epossessiveAffix(\"Kenya\", array (  \"person\" =\u003e \"3\", \"quantity\" =\u003e \"plural\") ), PHP_EOL;\n\n        \n# Output\n    \n    Öykü'nün \n    Fatma'ya \n    Yasin'e \n    ALİ'YE \n    Ali'den \n    Kaliningrad'ı\n    güneşli\n    ağacın\n    eriği\n    Erik'i\n    kavanozum\n    kavanozun\n    kavanozu\n    halterimiz\n    halteriniz\n    halterleri\n    Kenyaları \n\n## Turkish Grammar\n * Turkish is a highly agglutinative language, i.e., Turkish words have many grammatical suffixes or endings that determine meaning. Turkish vowels undergo vowel harmony. When a suffix is attached to a stem, the vowel in the suffix agrees in frontness or backness and in roundedness with the last vowel in the stem. Turkish has no gender.\n * [More Info](http://en.wikipedia.org/wiki/Turkish_grammar)\n\n## Author\n * Yasin Kuyu\n * [Follow me at Twitter](http://twitter.com/yasinkuyu)\n\n  \n      C# Version\n      https://github.com/yasinkuyu/Turkish.cs\n      \n      JavaScript Version\n      https://github.com/yasinkuyu/Turkish.js\n      \n      Python Version\n      https://github.com/miklagard/Turkish-Suffix-Library\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasinkuyu%2Fturkish.php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyasinkuyu%2Fturkish.php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasinkuyu%2Fturkish.php/lists"}