PHPackages                             burgess1109/file\_transfer - 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. burgess1109/file\_transfer

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

burgess1109/file\_transfer
==========================

CURL files

16PHP

Since Dec 23Pushed 9y ago1 watchersCompare

[ Source](https://github.com/burgess1109/file_transfer)[ Packagist](https://packagist.org/packages/burgess1109/file_transfer)[ RSS](/packages/burgess1109-file-transfer/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

file\_transfer Laravel curl檔案下載及轉移
==================================

[](#file_transfer-laravel-curl檔案下載及轉移)

起因：因專案需求進行大量資料下載及轉移

安裝方式
====

[](#安裝方式)

1. 切換報專案目錄下，執行 composer require burgess1109/file\_transfer:\*
2. 至 config/app.php 'providers'內加入 Burgess\\FileTransfer\\FileTransferServiceProvider::class,

環境參數(.env)
==========

[](#環境參數env)

使用Storage ftp 上傳時需做下列設定

FILE\_HOST：file server IP

FILE\_USERNAME：file server 帳號

FILE\_PASSWORD：file server 密碼

FILE\_ROOT：上傳目錄

config/filesystems.php

1.修正default參數,讓其撈取環境參數

'default' =&gt; 'ftp',

2.'disks'內增加ftp disk, 讓Storage支援FTP

'ftp' =&gt; \[

```
        'driver'   => 'ftp',

        'host' => env('FILE_HOST', 'localhost'),

        'username' => env('FILE_USERNAME', '預設帳號'),

        'password' => env('FILE_PASSWORD', '預設密碼'),

        // Optional FTP Settings...

        'port' => 21,

```

 'root' =&gt; '', \],

測試頁面
====

[](#測試頁面)

提供測試頁面 YourIP/test

使用方式
====

[](#使用方式)

可參考 packages/filetransfer/src/TestController.php

使用package

use Burgess\\FileTransfer;

1. CURL下載

$file = new FileTransfer\\FileTransferController();

$down\_path = ''; //下載路徑

$result=$file-&gt;download($down\_path); //下載

2. 檔案轉移

$directory='路徑';

$file = new FileTransfer\\FileTransferController();

$down\_path = ''; //下載路徑

$upload\_path='transfer'; //上傳路徑

$is\_local = true; //是否在本地端儲存

$result=$file-&gt;transfer($down\_path,$upload\_path,$is\_local); //轉移

CURL 或 檔案轉移 $is\_local設定為ture, 會在本地端產生"temp\_file"資料夾儲存下載下來的檔案

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

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/b1f659bc546a49e8ad24a3b9c5ec3c560945e36c23c6cde1eaea4fbaf89f0fca?d=identicon)[burgess1109](/maintainers/burgess1109)

---

Top Contributors

[![burgess1109](https://avatars.githubusercontent.com/u/17957434?v=4)](https://github.com/burgess1109 "burgess1109 (5 commits)")

### Embed Badge

![Health badge](/badges/burgess1109-file-transfer/health.svg)

```
[![Health](https://phpackages.com/badges/burgess1109-file-transfer/health.svg)](https://phpackages.com/packages/burgess1109-file-transfer)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

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

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[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)

PHPackages © 2026

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