PHPackages                             yxdj/filesystem - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. yxdj/filesystem

ActiveLibrary[File &amp; Storage](/categories/file-storage)

yxdj/filesystem
===============

use it with filesystem...

1191PHP

Since Apr 28Pushed 11y ago1 watchersCompare

[ Source](https://github.com/yxdj/filesystem)[ Packagist](https://packagist.org/packages/yxdj/filesystem)[ RSS](/packages/yxdj-filesystem/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yxdj/filesystem for php
=======================

[](#yxdjfilesystem-for-php)

实际类型和文件后缀是分开验证的， 保存的时候路经是什么类型就实际是什么类型了

处理过程： 1.创建一个所要大小的画板 2.在旧图中划出一个区域，在新图中也画出一个区域（不一定是画板大小） 3.把旧图的区域，复制到新图中去。

处理多次图片不方便， 还有异常处理，参数传入，

```
$img=new FlyImage();

$img->set(PUBLIC_PATH.'23_1334916707.jpg');
$img->save(200,200,[300,50,220,220],PUBLIC_PATH.'a1.png');

$img->set(PUBLIC_PATH.'23_1416293682.jpg');
$img->save(500,500,FlyImage::SET,PUBLIC_PATH.'b0.jpg');
$img->save(200,200,FlyImage::CUT,PUBLIC_PATH.'b1.jpg');
$img->save(200,200,FlyImage::DEF,PUBLIC_PATH.'b2.jpg');
$img->save(1000,200,FlyImage::MAX,PUBLIC_PATH.'b3.png');
$img->save(200,200,[0,0,220,220],PUBLIC_PATH.'b4.png');
$img->save(200,200,[200,30,220,220],PUBLIC_PATH.'b5.png');
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/14651f7b017ceea7ec9292665a3b3503e4e91cbbcc390a858a23f46ad37f27fa?d=identicon)[yxdj](/maintainers/yxdj)

---

Top Contributors

[![yxdj](https://avatars.githubusercontent.com/u/10879300?v=4)](https://github.com/yxdj "yxdj (7 commits)")

### Embed Badge

![Health badge](/badges/yxdj-filesystem/health.svg)

```
[![Health](https://phpackages.com/badges/yxdj-filesystem/health.svg)](https://phpackages.com/packages/yxdj-filesystem)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15161.6M2.6k](/packages/illuminate-filesystem)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)[madnest/madzipper

Easier zip file handling for Laravel applications.

1382.3M6](/packages/madnest-madzipper)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
