定制 mcprohosting/aperture 二次开发

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

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

mcprohosting/aperture

Composer 安装命令:

composer require mcprohosting/aperture

包简介

Simple Laravel package for taking and applying snapshots of database contents.

README 文档

README

Aperture is a super simple Laravel package to make sharing and storing unchanging database data easy and effective. Essentially, it provides a quick interface to dump and restore information from a database table. It is build so that, if needed, it should be able to handle unlimited rows without running out of memory.

Usage

  1. Add this package to your composer.json.
  2. Add the service provider 'Mcprohosting\Aperture\ApertureServiceProvider' to your list of providers in config/app.php

You then have access to the commands snapshot:take and snapshot:restore.

> php artisan snapshot:take --help

Usage:
 snapshot:take [--database[="..."]] [--chunk[="..."]] table

Arguments:
 table                 Table to snapshot.

Options:
 --database            Database the table lives on.
 --chunk               How many rows to process at once. (default: 500)

> php artisan snapshot:restore --help

Usage:
 snapshot:restore [--database[="..."]] [--chunk[="..."]] table

Arguments:
 table                 Table to snapshot.

Options:
 --database            Database the table lives on.
 --chunk               How many rows to process at once. (default: 500)

Licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-04-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固