定制 tigress/core 二次开发

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

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

tigress/core

最新稳定版本:2026.01.07.0

Composer 安装命令:

composer require tigress/core

包简介

Tigress core library

README 文档

README

The Core module of the Tigress Framework

Installation

You can create a new Tigress project by using composer.

composer create-project tigress/tigress <project_name>

Documentation

The Core load following modules:

Automatically loaded

  • Twig (Template Engine)

Manually loaded through the 'config/config.json' file

  • Tigress Database (Database Connection)

JSON Configuration

config.json

This file contains all the configuration information for the application.

This includes the following:

  • Database Connection

router.json

This file contains all the routes for the application. The included sample file contains working examples of the following routes:

  • GET / (Home Page)
  • GET /version (Version Page)
  • GET /api/database/get (Database API)
  • POST /api/database/post (Database API)
  • PUT /api/database/put (Database API)

Database API

This is a very powerful tool that allows you to interact with the database directly without the need of using the website. If your not planning to use this feature, you can remove the routes from the 'router.json' file.

This is done through a RESTful API. The header needs to contain the following:

  • Content-Type: application/json
  • Username:
  • Password:
  • Database:

The body needs to contain the following:

  • Table:
  • Query: (MySQL Query through keybindings)
  • Keybindings: (Key + Value to use in the Query)
  • Data: (The data for the table, used with POST/PUT)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2024-07-01