Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #8 from darkterminal/beta-release
Browse files Browse the repository at this point in the history
chore(beta-release): libsql-client-php support local and remote connection
  • Loading branch information
darkterminal authored Apr 27, 2024
2 parents 235e4e6 + d17e740 commit 1413eec
Show file tree
Hide file tree
Showing 26 changed files with 1,440 additions and 302 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@ vendor/
.vscode/
taggen
.env

libsql-php
examples/*.db
*.log
*.db
_intelephense_helper.php
orchestrators/
27 changes: 24 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<a href="https://docs.turso.tech/sdk/ts/quickstart">
<a href="/docs/README.md">
<img alt="Turso + TypeScript" src="https://i.imgur.com/N7hT38A.png" width="1000">
<h3 align="center">Turso + PHP (Work In Progress)</h3>
</a>
Expand All @@ -11,9 +11,30 @@

<p align="center">
<a href="https://turso.tech"><strong>Turso</strong></a> ·
<a href="https://docs.turso.tech/quickstart"><strong>Quickstart</strong></a> ·
<a href="/docs/README.md"><strong>Quickstart</strong></a> ·
<a href="/examples"><strong>Examples</strong></a> ·
<a href="https://docs.turso.tech"><strong>Docs</strong></a> ·
<a href="/docs"><strong>Docs</strong></a> ·
<a href="https://discord.com/invite/4B5D7hYwub"><strong>Discord</strong></a> ·
<a href="https://blog.turso.tech/"><strong>Blog &amp; Tutorials</strong></a>
</p>

---

## Documentation

1. [Turso Quickstart](https://docs.turso.tech/quickstart) &mdash; Learn how create and connect your first database.
2. [SDK Quickstart](/docs/README.md#introduction-libsql-client-php) &mdash; Learn how to install and execute queries using the libSQL client.
3. [SDK Reference](/docs/LibSQL.md) &mdash; Dive deeper with the libSQL SDK reference and examples.

### What is Turso?

[Turso](https://turso.tech) is a SQLite-compatible database built on [libSQL](https://docs.turso.tech/libsql), the Open Contribution fork of SQLite. It enables scaling to hundreds of thousands of databases per organization and supports replication to any location, including your own servers, for microsecond-latency access.

Learn more about what you can do with Turso:

- [Embedded Replicas](https://docs.turso.tech/features/embedded-replicas)
- [Platform API](https://docs.turso.tech/features/platform-api)
- [Data Edge](https://docs.turso.tech/features/data-edge)
- [Branching](https://docs.turso.tech/features/branching)
- [Point-in-Time Recovery](https://docs.turso.tech/features/point-in-time-recovery)
- [Scale to Zero](https://docs.turso.tech/features/scale-to-zero)
19 changes: 17 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,23 @@
"email": "darkterminal@duck.com"
}
],
"scripts": {
"post-install-cmd": ["./vendor/bin/build"],
"post-update-cmd": ["./vendor/bin/build"]
},
"require": {
"darkterminal/turso-http": "^1.2",
"guzzlehttp/guzzle": "^7.0"
}
"guzzlehttp/guzzle": "^7.0",
"darkterminal/libsql-php-ext": "^0.0.1"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/darkterminal"
},
{
"type": "other",
"url": "https://paypal.me/lazarusalhambra"
}
]
}
59 changes: 58 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1413eec

Please sign in to comment.