PHPackages                             bybzmt/simple-http-storage - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. bybzmt/simple-http-storage

ActiveLibrary[HTTP &amp; Networking](/categories/http)

bybzmt/simple-http-storage
==========================

php tcp locker and golang server

v2.0.0(8y ago)239Apache-2.0PHPPHP &gt;=5.4.0

Since Jul 13Pushed 8y ago1 watchersCompare

[ Source](https://github.com/bybzmt/simple-http-storage)[ Packagist](https://packagist.org/packages/bybzmt/simple-http-storage)[ Docs](http://github.com/bybzmt/simple-http-storage)[ RSS](/packages/bybzmt-simple-http-storage/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (3)Used By (0)

Simple-http-Storage
===================

[](#simple-http-storage)

这是一个简单的HTTP的文件存储服务，这个服务是为跨服务器保存文件而设计的。 仅仅是为了不在php服务器上通过mount挂载远程文件。

这样子做会有两点好处：

1. 运维部署会变得简单
2. 程序员会意识到他操作的文件是远程的，不会无意识的在网络上反复下载文件。

服务只支持4个操作

- HEAD 读取头信息，判断文件是否存在
- GET 得到文件
- PUT 上传文件
- DELETE 删除文件

phpclient
=========

[](#phpclient)

这是一个简单http客户端

安装

`composer require bybzmt/simple-http-storage`

使用示例:

```
$storage = new SimpleHttpStorage($server, $port, $timeout);
//上传
$storage->put(__FILE__, '/test.txt');
//下载
$storage->get("/test.txt", "./test.txt");
//删除
$storage->delete("/test.txt");
//判断文件是否存在
var_dump($storage->exists("/test.txt"));
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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.

###  Release Activity

Cadence

Every ~671 days

Total

2

Last Release

2967d ago

Major Versions

v1.0.0 → v2.0.02018-05-16

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1188099?v=4)[bybzmt](/maintainers/bybzmt)[@bybzmt](https://github.com/bybzmt)

---

Top Contributors

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

---

Tags

http-storage

### Embed Badge

![Health badge](/badges/bybzmt-simple-http-storage/health.svg)

```
[![Health](https://phpackages.com/badges/bybzmt-simple-http-storage/health.svg)](https://phpackages.com/packages/bybzmt-simple-http-storage)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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