# Nette Database

PHP database layer that wraps PDO, with an SQL way for queries and an Explorer layer for fetching rows and their relations.


Source: https://findsoftware.frbit.cloud/nette-database/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://doc.nette.org/en/database
- repository: https://github.com/nette/database
- docs: https://doc.nette.org/en/database
- x: https://twitter.com/nettefw
- discord: https://discord.gg/azXxTbuQVq
- forum: https://forum.nette.org/en/

### Identity

- status: active
- maintainer: David Grudl
- maintainerType: unknown
- parent: unknown
- firstRelease: 2014
- hqCountry: unknown

### Kind

- category: library
- hosting: php
- language: php
- runtime: php
- runtimeMin: php 8.1
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: mysql, postgres, sqlite, sqlserver, oracle
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: composer

### License

- licenseModel: open-source
- license: BSD-3-Clause, GPL-2.0-only, GPL-3.0-only

### Releases

- currentMajor: 3
- latestReleaseDate: 2026-10-27

### Adoption

- githubStargazers: 541
- packagistDownloads: 7490739
- npmWeeklyDownloads: not applicable
- contributors: 65
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 1099
- dependentPackages: 285

### Sources

- urls: https://doc.nette.org/en/database (read 2026-11-16)
- urls: https://api.github.com/repos/nette/database (read 2026-11-16)
- urls: https://doc.nette.org/en/database (read 2026-11-16)
- firstRelease: https://api.github.com/repos/nette/database/commits/667143b2d5b940f78c8dc9212f95b1bbc033c6a3 (read 2026-11-16)
- maintainer: https://raw.githubusercontent.com/nette/database/v3.2.10/license.md (read 2026-11-16)
- category: https://doc.nette.org/en/database (read 2026-11-16)
- language: https://api.github.com/repos/nette/database (read 2026-11-16)
- runtime: https://raw.githubusercontent.com/nette/database/v3.2.10/composer.json (read 2026-11-16)
- runtimeMin: https://raw.githubusercontent.com/nette/database/v3.2.10/composer.json (read 2026-11-16)
- databases: https://api.github.com/repos/nette/database (read 2026-11-16)
- installMethod: https://raw.githubusercontent.com/nette/database/master/readme.md (read 2026-11-16)
- license: https://raw.githubusercontent.com/nette/database/v3.2.10/license.md (read 2026-11-16)
- license: https://raw.githubusercontent.com/nette/database/v3.2.10/license.md (read 2026-11-16)
- license: https://raw.githubusercontent.com/nette/database/v3.2.10/license.md (read 2026-11-16)
- licenseModel: https://raw.githubusercontent.com/nette/database/v3.2.10/license.md (read 2026-11-16)
- currentMajor: https://api.github.com/repos/nette/database/releases (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/nette/database/releases (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/nette/database (read 2026-11-16)
- contributors: https://api.github.com/repos/nette/database/contributors?per_page=1 (read 2026-11-16)
- packagistDownloads: https://packagist.org/packages/nette/database.json (read 2026-11-16)
- packagistDownloads: https://packagist.org/packages/nette/database.json (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/nette%2Fdatabase (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/nette%2Fdatabase (read 2026-11-16)

## Notes

Nette Database is a database layer for PHP that wraps PDO. Its SQL way keeps full control over the queries an application writes, and its Explorer layer fetches table rows and their relations. The package is one of the standalone components of the Nette family, and the [documentation](https://doc.nette.org/en/database) describes both layers.

## Worth knowing

The Explorer layer does not cover every server the core layer supports, according to the core documentation. The license text calls "Nette Framework" a protected trademark and asks users not to put "Nette" in a project name or top-level domain.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
