Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Database Laravel Package

joomla/database

Joomla Database provides a generic database layer and drivers for building queries and managing connections. Includes a factory for creating drivers, and helpers for safe input handling (escape/quote), making it easier to integrate database access in custom PHP apps.

View on GitHub
Deep Wiki
Context7

Updating from v3 to v4

The following changes were made to the Database package between v3 and v4.

Minimum supported PHP version raised

All Framework packages now require PHP 8.3 or newer.

Minimum supported database versions raised

The following are the minimum supported database versions:

  • MySQL: 5.6
  • PostgreSQL: 9.2.0
  • MS SQL: 11.0.2100.60 (SQL Server 2012)

Removed quoteNameStr

The deprecated method quoteNameStr has been removed. Use quoteNameString instead.

DatabaseInterface: createQuery method

DatabaseInterface adds a createQuery method for creating query objects. Use createQuery() instead of getQuery(true). If you have a custom query class update your adapter's createQuery() method to return your custom query class.

Removed deprecated LimitableInterface and PreparableInterface

The interfaces Joomla\Database\Query\LimitableInterface and Joomla\Database\Query\PreparableInterface have been removed and its signatures added to the QueryInterface. All objects implementing one of these interfaces need to implement the QueryInterface instead.

Removed deprecated DatabaseQuery::castAsChar()

The deprecated method DatabaseQuery::castAsChar() as been removed. Use $query->castAs('CHAR', $value) instead.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode