This module provides MySQL database integration for WebFramework.
Install via Composer:
composer require avoutic/web-framework-mysql
- PHP 8.2 or higher
- MySQL server
- PHP mysqli extension
- WebFramework core package (^8)
If you are using the definition from definitions/defitinions.php. You can just add the following db_config.main.php to your auth config directory (config/auth):
<?php
return [
'database_host' => 'localhost',
'database_user' => 'your_user',
'database_password' => 'your_password',
'database_database' => 'your_database'
]
MIT License - see LICENSE file for details.