PHPackages                             suunnn/laravel-rongcloud - 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. [API Development](/categories/api)
4. /
5. suunnn/laravel-rongcloud

ActiveLibrary[API Development](/categories/api)

suunnn/laravel-rongcloud
========================

RongCloud SDK for Laravel

1.0.0(4y ago)117MITPHP

Since Aug 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/suunnn/laravel-rongcloud)[ Packagist](https://packagist.org/packages/suunnn/laravel-rongcloud)[ RSS](/packages/suunnn-laravel-rongcloud/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Laravel-RongCloud
=================

[](#laravel-rongcloud)

Requirements
------------

[](#requirements)

- php &gt;= 7.0
- composer
- laravel &gt;= 5.1

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

[](#installation)

```
$ composer require suunnn/laravel-rongcloud
```

The `Suunnn\LaravelRongcloud\ServiceProvider` is auto-discovered and registered by default.

If you want to register it yourself or `laravel` &lt; 5.5, add the ServiceProvider in `config/app.php`:

```
'providers' => [
    /*
     * Package Service Providers...
     */
     Suunnn\LaravelRongcloud\ServiceProvider::class,
],
```

The `RongCloud` facade is also auto-discovered.

If you want to add it manually or `laravel` &lt; 5.5, add the Facade in `config/app.php`:

```
'aliases' => [
    ...
    'RongCloud' => Suunnn\LaravelRongcloud\Facades\RongCloud::class,
],
```

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

[](#configuration)

To publish the config, run the vendor publish command:

```
$ php artisan vendor:publish --provider="Suunnn\LaravelRongcloud\ServiceProvider" --tag=laravel-rongcloud
```

`config/rongcloud.php`:

```
return [
    'app_key' => 'your app key',
    'app_secret' => 'your app secret'
];
```

Usage
-----

[](#usage)

```
