承接 nimayneb/flops 相关项目开发

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

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

nimayneb/flops

Composer 安装命令:

composer require nimayneb/flops

包简介

Fluent Local Phile system API

README 文档

README

FLOPS is a API only for the Local File system with a fluent but verbosity (no abbreviations) interface support.

Key features:

  • No dependencies (excepts POSIX extension)
  • No regular expressions
  • No use of SPL (Standard PHP Library)
  • Proven and simplest patterns (see PHP documentation)

Use PHP internals for filesystem:

chgrp chmod clearstatcache copy disk_​free_​space disk_​total_​space fclose feof fgetc fgets file_​exists file_​get_​contents file_​put_​contents fileatime filectime filegroup filemtime fileowner fileperms filesize fopen fread fseek ftell ftruncate fwrite is_​dir is_​executable is_​file is_​link is_​readable is_​writable mkdir pathinfo readlink realpath rename rmdir symlink touch unlink

Example of use:

use JayBeeR\Flops\LocalFileSystem;

$localBinaries = LocalFileSystem::get('/usr/local/bin/');
$composerFile = LocalFileSystem::get('composer.phar');
$composerBinary = $composerFile->copyTo($localBinaries)->omitExtension();
$composerBinary->setPermission(function(Permissions $permissions) {
    $permissions->setExecutionAccessRightsForAll();
});

Table of contents

  1. Configuration
  2. File information
  3. Directory information
  4. Symbolic link information
  5. File resources
  6. File encoding
  7. File modes
  8. Permissions
  9. Root line
  10. Write content
  11. Exceptions

Wishlist

  • Tests!
  • more Documentations
  • Exceptions give context help
  • more Semantic Exceptions (and Refactoring)
  • Execution process (STDIN, STDOUT, STDERR)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2019-09-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固