承接 baleen/storage-flysystem 相关项目开发

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

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

baleen/storage-flysystem

最新稳定版本:0.2.0

Composer 安装命令:

composer require baleen/storage-flysystem

包简介

Provides Baleen Migrations with FlyStorage class that uses FlySystem.

README 文档

README

This package is part of the Baleen ecosystem. It uses the League's Flysystem to store the migration status into a file.

Status

Build Status Code Coverage Scrutinizer Code Quality SensioLabsInsight Packagist

Author License

NB!: This project is still an early release. Please do not use in production-critical environments. Refer to the LICENSE for more information.

Installation (Composer)

Installation with Composer is simple:

composer require baleen/storage-flysystem

Usage

The following example illustrates how you can use FlyStorage together with Flysystem's Local adapter.

use League\Flysystem\Filesystem;
use League\Flysystem\Adapter\Local;

$adapter = new Local(__DIR__.'/path/to/root');
$filesystem = new Filesystem($adapter);

$storage = new FlyStorage($filesystem); // default filename is ".baleen_versions"

// and then, for example:
$migratedVersions = $storage->fetchAll();

// another example (save a new migrated version):
$v = new \Baleen\Migrations\Version('newVersion', true);
$storage->save($v);

LICENSE

MIT - for more details please refer to LICENSE at the root directory.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固