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.
The following changes were made to the Database package between v3 and v4.
All Framework packages now require PHP 8.3 or newer.
The following are the minimum supported database versions:
The deprecated method quoteNameStr has been removed. Use quoteNameString instead.
createQuery methodDatabaseInterface 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.
LimitableInterface and PreparableInterfaceThe 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.
DatabaseQuery::castAsChar()The deprecated method DatabaseQuery::castAsChar() as been removed. Use $query->castAs('CHAR', $value) instead.
How can I help you explore Laravel packages today?