PHPackages                             laungkahung/laravel-cos-slice - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. laungkahung/laravel-cos-slice

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

laungkahung/laravel-cos-slice
=============================

A COS SLICE SDK

0.0.4(2y ago)210MITPHP

Since Nov 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/laungkahung/laravel-cos-slice)[ Packagist](https://packagist.org/packages/laungkahung/laravel-cos-slice)[ RSS](/packages/laungkahung-laravel-cos-slice/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

 laravel-cos-slice
===================

[](#-laravel-cos-slice-)

 A COS SDK.

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

[](#requirement)

- Laravel &gt;= 9.0
- PHP &gt;= 8.1

Installing
==========

[](#installing)

1. Install Package:

    ```
    $ composer require laungkahung/laravel-cos-slice -vvv
    ```

    and publish the assets using command:

    ```
    $ php artisan vendor:publish --provider=Laungkahung\\LaravelCosSlice\\UploadServiceProvider
    ```
2. Routing

    You can register routes in `routes/admin.php` or other routes file:

    ```
    \LaravelUploader::routes();

    // custom
    \LaravelUploader::routes([
       'as' => 'files.upload',
       'middleware' => ['auth'],
       //...
    ]);
    ```

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

[](#configuration)

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

    ```
