avoutic / web-framework-mysql
MySQL module for WebFramework
Installs: 1 004
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- ext-mysqli: *
- avoutic/web-framework: ^10
Requires (Dev)
README
This module provides MySQL database integration for WebFramework.
Installation
Install via Composer:
composer require avoutic/web-framework-mysql
Requirements
- PHP 8.2 or higher
- MySQL server
- PHP mysqli extension
- WebFramework core package (^8)
Configuration
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' ]
License
MIT License - see LICENSE file for details.