PHPackages                             overtrue/laravel-filesystem-cos - 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. overtrue/laravel-filesystem-cos

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

overtrue/laravel-filesystem-cos
===============================

A Cos storage filesystem for Laravel.

v4.0.0(1mo ago)92128.4k↑27.8%9[2 issues](https://github.com/overtrue/laravel-filesystem-cos/issues)7MITPHPPHP ^8.3CI passing

Since Nov 20Pushed 1mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (12)Versions (16)Used By (7)

Laravel filesystem COS
======================

[](#laravel-filesystem-cos)

[![Laravel Octane Ready Status](https://camo.githubusercontent.com/1c218651cdc2c4d1b4e72a61bf34ce269474c7322d1e463f615e513789626afa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f6374616e63652d72656164792d677265656e3f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/1c218651cdc2c4d1b4e72a61bf34ce269474c7322d1e463f615e513789626afa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f6374616e63652d72656164792d677265656e3f7374796c653d666c61742d737175617265)[![GitHub release (latest SemVer)](https://camo.githubusercontent.com/78ab44844c4ee95bbcc6215bf12bb48ea4eb01552b0d1e2b8712205bfed0c4b0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6f766572747275652f6c61726176656c2d66696c6573797374656d2d636f733f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/78ab44844c4ee95bbcc6215bf12bb48ea4eb01552b0d1e2b8712205bfed0c4b0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6f766572747275652f6c61726176656c2d66696c6573797374656d2d636f733f7374796c653d666c61742d737175617265)[![GitHub License](https://camo.githubusercontent.com/eec506f5c2faa76a18312ce031a08ca04a566fbfca9a34aa9ba8080577db7639/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6f766572747275652f6c61726176656c2d66696c6573797374656d2d636f733f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/eec506f5c2faa76a18312ce031a08ca04a566fbfca9a34aa9ba8080577db7639/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6f766572747275652f6c61726176656c2d66696c6573797374656d2d636f733f7374796c653d666c61742d737175617265)[![Packagist Downloads](https://camo.githubusercontent.com/21ea039a849c9ebc262cb2d3a23233d920cf238982913268144a2ed7bb5180b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f766572747275652f6c61726176656c2d66696c6573797374656d2d636f733f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/21ea039a849c9ebc262cb2d3a23233d920cf238982913268144a2ed7bb5180b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f766572747275652f6c61726176656c2d66696c6573797374656d2d636f733f7374796c653d666c61742d737175617265)

[Tencent Cloud COS](https://cloud.tencent.com/product/cos) storage for Laravel based on [overtrue/flysystem-cos](https://github.com/overtrue/flysystem-cos).

[![Sponsor me](https://github.com/overtrue/overtrue/raw/master/sponsor-me-button-s.svg?raw=true)](https://github.com/sponsors/overtrue)

Requirement
===========

[](#requirement)

- Laravel &gt;= 9.0

Installation
============

[](#installation)

```
$ composer require "overtrue/laravel-filesystem-cos" -vvv
```

Configuration
=============

[](#configuration)

1. Add a new disk to your `config/filesystems.php` config:

```
