承接 nineton-nasa/norm 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

nineton-nasa/norm

Composer 安装命令:

composer require nineton-nasa/norm

包简介

A Basic ORM and DB library

README 文档

README

Norm is an ORM library written in PHP language. It provides a convenient way to connect to databases and map objects to database tables. The library aims to provide a simple and easy-to-use API, allowing developers to create and manipulate databases with ease.

Installation

Install using Composer:

composer require nineton-nasa/norm

Creating Model & Mapper

1. Create a Database Configuration File

Create a .norm-db.ini file in the same directory as the vendor directory, and modify the corresponding parameters (file content reference .norm-db.example.ini).

[DATABASE]
TYPE = mysql
HOSTNAME = 127.0.0.1
HOSTPORT = 3306
DATABASE = db-name
USERNAME = root
PASSWORD = password
CHARSET = utf8mb4

2. Execute Commands

Execute the following commands in the vendor directory, and enter the corresponding parameters as prompted:

./bin/norm-create

Features

The main features of Norm ORM Library are:

  • Map objects to database tables
  • Access data in database tables through model classes
  • Support complex queries
  • Support transaction processing

Contributors

Norm is an open-source project, and all developers are welcome to participate. If you find any errors or defects, please submit an issue or pull request.

License

Norm is licensed under the MIT license. See LICENSE for the full license text.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-09-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固