{"id":19293666,"url":"https://github.com/tursodatabase/turso-client-php","last_synced_at":"2025-04-07T07:13:25.776Z","repository":{"id":242637718,"uuid":"810028693","full_name":"tursodatabase/turso-client-php","owner":"tursodatabase","description":"Turso + PHP - libSQL Extension for PHP (Community SDK)","archived":false,"fork":false,"pushed_at":"2025-03-02T15:43:55.000Z","size":1680,"stargazers_count":85,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-31T06:04:04.785Z","etag":null,"topics":["driver","extension","libsql","php","sqlite","turso"],"latest_commit_sha":null,"homepage":"https://darkstation.mintlify.app/dark-extensions","language":"Rust","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/tursodatabase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"darkterminal","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":"https://paypal.me/lazarusalhambra"}},"created_at":"2024-06-03T23:07:06.000Z","updated_at":"2025-03-28T04:29:51.000Z","dependencies_parsed_at":"2024-09-07T04:44:14.882Z","dependency_job_id":"16668008-136e-468d-b14a-0505c74b9568","html_url":"https://github.com/tursodatabase/turso-client-php","commit_stats":{"total_commits":119,"total_committers":3,"mean_commits":"39.666666666666664","dds":0.01680672268907568,"last_synced_commit":"036b0f1978015813ba1de10aced333ee6fa45a1c"},"previous_names":["tursodatabase/turso-client-php"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tursodatabase%2Fturso-client-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tursodatabase%2Fturso-client-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tursodatabase%2Fturso-client-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tursodatabase%2Fturso-client-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tursodatabase","download_url":"https://codeload.github.com/tursodatabase/turso-client-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608153,"owners_count":20965952,"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":["driver","extension","libsql","php","sqlite","turso"],"created_at":"2024-11-09T22:35:43.610Z","updated_at":"2025-04-07T07:13:25.754Z","avatar_url":"https://github.com/tursodatabase.png","language":"Rust","funding_links":["https://github.com/sponsors/darkterminal","https://paypal.me/lazarusalhambra"],"categories":["Rust","Databases"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://discord.gg/turso\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://i.imgur.com/UhuW3zm.png\"\u003e\n      \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://i.imgur.com/vljWbfr.png\"\u003e\n      \u003cimg alt=\"Shows a black logo in light color mode and a white one in dark color mode.\" src=\"https://i.imgur.com/vGCC0I4.png\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Turso + PHP\" src=\"https://i.imgur.com/zRVfWL3.png\" width=\"1000\"\u003e\n    \u003ch1 align=\"center\" style=\"border: 0;margin-bottom: 0;\"\u003eTurso + PHP (Community SDK)\u003c/h1\u003e\n    \u003cp align=\"center\"\u003e\n      SQLite for Production. Powered by \u003ca href=\"https://turso.tech/libsql\"\u003elibSQL\u003c/a\u003e.\n    \u003c/p\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"LICENSE\"\u003e\n    \u003cpicture\u003e\n      \u003cimg src=\"https://img.shields.io/github/license/tursodatabase/turso-client-php?color=01c3b0\" alt=\"MIT License\" /\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://tur.so/discord-php\"\u003e\n    \u003cpicture\u003e\n      \u003cimg src=\"https://img.shields.io/discord/933071162680958986?color=01c3b0\" alt=\"Discord\" /\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n  \u003ca href=\"#contributors\"\u003e\n    \u003cpicture\u003e\n      \u003cimg src=\"https://img.shields.io/github/contributors/tursodatabase/turso-client-php?color=01c3b0\" alt=\"Contributors\" /\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/tursodatabase/turso-client-php/releases\"\u003e\n    \u003cpicture\u003e\n      \u003cimg src=\"https://img.shields.io/github/downloads/tursodatabase/turso-client-php/total.svg?color=01c3b0\" alt=\"Total downloads\" /\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/tursodatabase/turso-client-php/releases\"\u003e\n    \u003cpicture\u003e\n      \u003cimg src=\"https://img.shields.io/github/v/release/tursodatabase/turso-client-php?color=01c3b0\" alt=\"Release\" /\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## PHP Versions\n\n| PHP Versions  | Build Versions  |\n| ------------- | ----------------|\n| 8.1           | TS / NTS        |\n| 8.2           | TS / NTS        |\n| 8.3           | TS / NTS        |\n| 8.4           | TS / NTS        |\n\n**Note**: TS (Thread Safe), NTS (Non Thread-Safe). **Support for:** Linux/ Mac/Darwin / Windows/WSL\n\n---\n\n## Installation\n\nInstalling the extension should be not complecated, it's easy and like using **Composer Package Installer**. Or, if you belive with this quotes:\n\n\u003e If there is a hard way, why choose the easy way?\n\u003e\n\u003e \u0026mdash; Me\n\nSo you need to go with the **Manual Installation**.\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003eAuto Installer\u003c/b\u003e\u003c/summary\u003e\n  \u003ccode\u003eturso-php-installer\u003c/code\u003e is a Composer package capable of executing various commands related to libSQL, simplifying the development process, and making it easier to simulate in a local environment.\n\n  ```bash\n  composer global require darkterminal/turso-php-installer\n  ```\n  Add to `PATH` variable:\n  ```bash\n  export COMPOSER_BIN_DIR=$(composer config --global home)/vendor/bin\n  ```\n\n  We have two options to install the extension using the installer:\n\n  **Interactive Mode**\n  ```bash\n  turso-php-installer install\n  ```\n  \u003cimg src=\"https://i.imgur.com/DCqTg3l.gif\" /\u003e\n\n  ---\n\n  **Non-interactive Mode**\n  ```bash\n  turso-php-installer install -y --php-version=8.3\n  ```\n  \u003cimg src=\"https://i.imgur.com/s60hh5T.gif\" /\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003eManual Installation\u003cb\u003e\u003c/summary\u003e\n\n  Download the latest build extension/driver binary you can see at \u003ca href=\"https://github.com/tursodatabase/turso-client-php/releases\"\u003erelease\u003c/a\u003e page.\n\n  - Extract the archive\n  - Locate somewhere in your machine\n  - Copy a relative path that address that extension/driver\n  - Open `php.ini` search `;extension` if you using `nano` (`ctrl+w`) then searching for it\n  - add in the next-line `extension=liblibsql_php.so` (in Linux) without `;` at the begining\n\n  Check on your console/terminal\n\n  ```bash\n  php --m | grep libsql\n  ```\n\u003c/details\u003e\n\n## Contributors\n\n![Contributors](https://contrib.nn.ci/api?no_bot=true\u0026repo=tursodatabase/turso-client-php)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftursodatabase%2Fturso-client-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftursodatabase%2Fturso-client-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftursodatabase%2Fturso-client-php/lists"}