定制 webservis/basicdb 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

webservis/basicdb

Composer 安装命令:

composer create-project webservis/basicdb

包简介

Example project using the basicdb package

README 文档

README

A simple PHP database class for easy interaction with MySQL databases.

Purpose

BasicDB is designed to provide a straightforward and convenient way to interact with MySQL databases using PHP. It aims to simplify database operations and make them more accessible for developers.

Features

  • Easy Integration: Simple and easy-to-use methods for common database operations.
  • Query Building: Supports building complex SQL queries with ease.
  • Pagination: Built-in pagination support for handling large result sets.
  • Debugging: Debug mode for viewing generated SQL queries.

Installation

To get started, follow these steps:

  1. Clone the project: git clone https://github.com/Sanan-84/basicdb.git
  2. Navigate to the project directory: cd basicdb
  3. Install the required dependencies: composer install
  4. Edit configuration files.

Usage

Here's an example of how to use BasicDB:

// Example usage code
require_once __DIR__ . '/vendor/autoload.php';

use Webservis\Database;

// Initialize the database connection
$db = new Database('localhost', 'your_db_name', 'your_username', 'your_password');

// Usage examples...

// ...

统计信息

  • 总下载量: 50
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2024-02-04