DEV Community

Cover image for Lil Story about libSQL Extension in PHP
Imam Ali Mustofa
Imam Ali Mustofa

Posted on

1 1

Lil Story about libSQL Extension in PHP

Who's the Creator of the libSQL Extension in PHP? Spoiler: It's Me!

Let me share a quick story. The other day, someone messaged me on social media. They sent a screenshot asking, “Who’s the creator of the libSQL extension in PHP?”

Well, guess what? It’s me.

screenshot

Yep, me. The same person who talks about libSQL and Turso Database everywhere. Why not? It's my work (even though I'm not Turso Internal). If that sounds a bit full of myself, I’ll admit it. That’s just how I roll.

Now, about this Software Freestyle Engineer (SFE) title. Sounds fancy, right? But really, it’s a bit of a joke. I mean, it’s true, but still a joke. I don’t fit into the typical mold. I’m the guy who bends the rules, writes some code, and laughs about it later.

Being an SFE is all about embracing the wild side. It takes guts to try what others won't. And sure, I like to think I make it look easy. I’m not here to follow the crowd—I’m here to change the game.

So, when people ask about the libSQL extension, I don’t just give them a boring answer. I show them me. This extension wouldn't exist without my mix of boldness and a bit of charm. I’m someone who takes risks, makes mistakes, and then shares it online.

So there you have it. If you've wondered who's behind the libSQL extension in PHP, it's me. The SFE. A mix of humor and smarts. The one who makes things happen.

Honestly? I wouldn’t change a thing.

Catch you later, folks!

☕️ Support My Work at GitHub


GitHub logo tursodatabase / turso-client-php

Turso + PHP - libSQL Extension for PHP (Community SDK)

Shows a black logo in light color mode and a white one in dark color mode.

Turso + PHP

Turso + PHP (Community SDK)

SQLite for Production. Powered by libSQL

MIT License Discord Contributors Total downloads Release

PHP Versions






























PHP Versions Build Versions
8.0 TS / NTS
8.1 TS / NTS
8.2 TS / NTS
8.3 TS / NTS
8.4 TS / NTS

Note: TS (Thread Safe), NTS (Non Thread-Safe). Support for: Linux/ Mac/Darwin / Windows/WSL


Installation

Installing the extension should be not complecated, it's easy and like using Composer Package Installer. Or, if you belive with this quotes:

If there is a hard way, why choose the easy way?

— Me

So you need to go with the Manual Installation.


Auto Installer
turso-php-installer 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.

composer global require darkterminal/turso-php-installer
Enter fullscreen mode Exit fullscreen mode

Add to PATH variable:

export COMPOSER_BIN_DIR=$(composer config --global home)/vendor/bin
Enter fullscreen mode Exit fullscreen mode

We have two options to…




Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay