> Full SurrealDB documentation index: https://surrealdb.com/docs/llms.txt

# Libraries

Libraries for SurrealDB that add schemas, models and typed query builders including Surqlize for TypeScript and Surqlize for PHP, and the SQL drivers for JavaScript.

Libraries are packages that add a higher-level interface to SurrealDB, such as a schema, models, a typed query builder or SQL dialect support. The Surqlize libraries use a SurrealDB SDK to connect to the database and to run queries, so the SDK's connection and authentication options apply to them. The SQL drivers connect to the database themselves.

- [Surqlize for TypeScript](/docs/libraries/surqlize-typescript.md) - A type-safe ORM for TypeScript with schemas defined in code, a fluent query builder, graph traversal, and live queries.

- [Surqlize for PHP](/docs/libraries/surqlize-php.md) - An object-relational mapper for PHP with attribute-driven models, a typed query builder, and graph relations.

- [SQL drivers for JavaScript](/docs/libraries/sql-drivers.md) - PostgreSQL and MySQL dialect clients for edge, serverless and browser runtimes, with drop-in layers for Drizzle, Kysely, Prisma, Neon and PlanetScale.

To send queries without a library, use the [JavaScript SDK](/docs/reference/javascript.md) or the [PHP SDK](/docs/reference/php.md) directly.
