Skip to content

avoutic/web-framework-mysql

Repository files navigation

WebFramework MySQL Module

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.

About

MySQL module for web-framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages