PHPackages                             smilestt/laravel-baidu-bos - 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. smilestt/laravel-baidu-bos

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

smilestt/laravel-baidu-bos
==========================

A Flysystem Baidu Bos Wrapper for Laravel

v1.0.5(7y ago)014MITPHPPHP &gt;=5.4.0

Since May 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/smilestt/laravel-baidu-bos)[ Packagist](https://packagist.org/packages/smilestt/laravel-baidu-bos)[ RSS](/packages/smilestt-laravel-baidu-bos/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (8)Used By (0)

laravel-baidu-bos
=================

[](#laravel-baidu-bos)

A Flysystem Baidu Bos Wrapper for Laravel

[![Author](https://camo.githubusercontent.com/69ee91c892b9943a5d293a0d8656e20f1e09873473353c3bd7c25b885499ffdb/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d407a68757869616f7169616f2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/zhuxiaoqiao)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/3f13ef85e2bce036df0d5be15b2b814cc4b3f4ffb58b73447f938353f6846142/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a68757869616f7169616f2f6c61726176656c2d62616964752d626f732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zhuxiaoqiao/laravel-baidu-bos)[![Total Downloads](https://camo.githubusercontent.com/bd692cd9f20225c4fcbd09f56d3aa1eac3dd69460e6f328e5590326e07244e5c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a68757869616f7169616f2f6c61726176656c2d62616964752d626f732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zhuxiaoqiao/laravel-baidu-bos)

Installation
------------

[](#installation)

```
composer require smilestt/laravel-baidu-bos
```

or add the following line to your project's `composer.json`:

```
"require": {
    "smilestt/laravel-baidu-bos": "~1.0"
}
```

then

```
composer update
```

After completion of the above, add the following line to the section `providers` of `config/app.php`:

```
'Zhuxiaoqiao\LaravelBaiduBos\BaiduBosFilesystemServiceProvider::class',
```

Configuration
-------------

[](#configuration)

Edit `config\filesystems.php`: Add bos disk

```
	'disks' => [

		'local' => [
			'driver' => 'local',
			'root'   => storage_path().'/app',
		],

		's3' => [
			'driver' => 's3',
			'key'    => 'your-key',
			'secret' => 'your-secret',
			'region' => 'your-region',
			'bucket' => 'your-bucket',
		],

		'rackspace' => [
			'driver'    => 'rackspace',
			'username'  => 'your-username',
			'key'       => 'your-key',
			'container' => 'your-container',
			'endpoint'  => 'https://identity.api.rackspacecloud.com/v2.0/',
			'region'    => 'IAD',
			'url_type'  => 'publicURL'
		],

		'bos' => [
			'driver' => 'bos',
			'bucket' => 'your-bucket-name',
			'options' => [
				'credentials' => [
					'ak' => 'your-ak',
					'sk' => 'your-sk',
				],
				'endpoint' => 'http://bj.bcebos.com',
			]
		],
	],
```

Usage
-----

[](#usage)

```
$exists = Storage::disk('bos')->exists('path/to/file');
$content = Storage::disk('bos')->get('path/to/file');
```

Official Documentation
----------------------

[](#official-documentation)

Documentation for laravel framework 'Filesystem/Cloud Storage' can be found on the [Laravel website](http://laravel.com/docs/5.0/filesystem).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~242 days

Recently: every ~303 days

Total

6

Last Release

2801d ago

### Community

Maintainers

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

---

Top Contributors

[![hicos](https://avatars.githubusercontent.com/u/1239100?v=4)](https://github.com/hicos "hicos (5 commits)")[![smilestt](https://avatars.githubusercontent.com/u/18135160?v=4)](https://github.com/smilestt "smilestt (4 commits)")[![zhuxiaoqiao](https://avatars.githubusercontent.com/u/12268885?v=4)](https://github.com/zhuxiaoqiao "zhuxiaoqiao (4 commits)")

### Embed Badge

![Health badge](/badges/smilestt-laravel-baidu-bos/health.svg)

```
[![Health](https://phpackages.com/badges/smilestt-laravel-baidu-bos/health.svg)](https://phpackages.com/packages/smilestt-laravel-baidu-bos)
```

###  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)
