yiisoft/db-sqlite

SQLite driver for Yii Database

Package info

github.com/yiisoft/db-sqlite

Homepage

Chat

Forum

Wiki

pkg:composer/yiisoft/db-sqlite

Fund package maintenance!

Opencollective

yiisoft

Statistics

Installs: 197 506

Dependents: 35

Suggesters: 6

Stars: 31

Open Issues: 7

2.0.0 2025-12-05 14:55 UTC

Requires

Suggests

None

Provides

Conflicts

None

Replaces

None

BSD-3-Clause b0158543abb378e4524777c8000e3a2180ff6363

databasedbalsqlsqliteyiiquery-builder


README

👁 Yii
👁 SQLite

Yii Database SQLite Driver


👁 Latest Stable Version
👁 Total Downloads
👁 Build status
👁 Code Coverage
👁 Mutation testing badge
👁 Static analysis
👁 type-coverage
👁 psalm-level

SQLite driver for Yii Database is a package for working with SQLite databases in PHP. It includes a database connection class, a command builder class, and a set of classes for representing database tables and rows as PHP objects.

Driver supports SQLite 3 or higher.

Requirements

  • PHP 8.1 - 8.5.
  • pdo_sqlite PHP extension.
  • mbstring PHP extension.

Installation

The package could be installed with Composer:

composer require yiisoft/db-sqlite

Important

See also installation notes for yiisoft/db package.

Documentation

For config connection to SQLite database check Connecting SQLite.

Check the yiisoft/db docs to learn about usage.

If you need help or have a question, the Yii Forum is a good place for that. You may also check out other Yii Community Resources.

License

The Yii Database SQLite Driver is free software. It is released under the terms of the BSD License. Please see LICENSE for more information.

Maintained by Yii Software.

Support the project

👁 Open Collective

Follow updates

👁 Official website
👁 Twitter
👁 Telegram
👁 Facebook
👁 Slack