承接 tfhinc/ci-warehouse 相关项目开发

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

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

tfhinc/ci-warehouse

Composer 安装命令:

composer require tfhinc/ci-warehouse

包简介

Get the fork lift - Manage data repositories with cache and database layers in the Codeigniter framework.

README 文档

README

Latest Version on Packagist PHP Version Software License Total Downloads

Get the fork lift - Manage data repositories with cache and database layers in the Codeigniter framework.

Requirements

  • PHP >= 7.1.0
  • CodeIgnitor 3.x

Installation

Install the library via composer:

composer require tfhinc/ci-warehouse

Run the post install command to publish the helper and class files to the appropriate CI directories:

composer --working-dir=vendor/tfhinc/ci-warehouse/ run-script publish-files

Loading the Library

There are a few available options for loading the Warehouse library:

Using the warehouse() helper function

The Warehouse helper function will resolve the warehouse class via the CI instance. It will either load the class or return the existing class instance:

$this->load->helper('warehouse');

Using the Warehouse Class

The Warehouse class can be instantiated when you require it:

$redis = new TFHInc/Warehouse/Warehouse();

Using the Warehouse CI Library

The Warehouse class can be loaded like any other CI library:

$this->load->library('Warehouse');

Usage

// Use the helper method

$this->CI->load->helper('warehouse');

$books = warehouse()->load('Books');

// Use the Warehouse class

$warehouse = new TFHInc\Warehouse\Warehouse();

$books = $warehouse->load('Books');

// Use the Warehouse CI Library

$this->load->library('Warehouse');

$books = $warehouse->load('Books');

Contributing

Feel free to create a GitHub issue or send a pull request with any bug fixes. Please see the GutHub issue tracker for isses that require help.

Acknowledgements

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-12-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固