Download the PHP package naukakodu/php-mysql-connection without Composer
On this page you can find all versions of the php package naukakodu/php-mysql-connection. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-mysql-connection
Installation via composer
Features
The library offers a Database class with the following capabilities:
- Establishing a secure PDO connection with a MySQL database
- Executing SQL queries with prepared statements support
- Retrieving single rows or entire result sets
- Handling data insertion with the ability to retrieve the last inserted ID
Connection Usage Examples
Basic Connection
Retrieving Data
Inserting Data
Executing Other Queries
Accessing the PDO Object
Configuration
The default character set is utf8mb4. You can change it during initialization:
QueryBuilder Usage Examples
Getting QueryBuilder
Available Query Methods
Join
Limit
OrderBy Asc
OrderBy Desc
Where
Executing Query
Getting raw SQL
All versions of php-mysql-connection with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.3
ext-pdo Version *
ext-pdo Version *
The package naukakodu/php-mysql-connection contains the following files
Loading the files please wait ...