PHPackages                             chipk4/selectel - 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. chipk4/selectel

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

chipk4/selectel
===============

Laravel Package for Selectel API cloud storage (selectel.com)

v0.4(9y ago)3185MITPHPPHP ~5.6|~7.0

Since Mar 22Pushed 9y ago3 watchersCompare

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

READMEChangelog (3)DependenciesVersions (6)Used By (0)

Selectel cloud storage API (selectel.com) for Laravel 5
=======================================================

[](#selectel-cloud-storage-api-selectelcom-for-laravel-5)

[![GitHub release](https://camo.githubusercontent.com/17652747a0702ae316bef3519131a915d36ebb86846d493b86c8698aeac85e3f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f72656c656173652d76302e322d2d626574612d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/chipk4/selectel-cloud-storage/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

This package provides an easy way to integrate Selectel Cloud Storage API with Laravel 5. Here are some examples of what you can do with the package:

```
SelectelApi::storageInfo();

//You may use virtual folders like 'newFolder/newFileName.jpg'
SelectelApi::storeFile('container', 'filePath/1243.jpg', 'newFileName.jpg')

SelectelApi::containerInfo('your_container')

SelectelApi::storageContainerList()

/*
* You can use private or public container type
* Public container present by default
* For private container use
*/
SelectelApi::getFile('container', 'fileName', true);
//For public container
SelectelApi::getFile('container', 'fileName');

SelectelApi::containerFileList('container_name');

//If you want to do something else, you can get an instance of the underlying API:
SelectelApi::getApi();
```

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

[](#installation)

You can install this package via Composer using:

```
composer require chipk4/selectel
```

You must also install this service provider.

```
// config/app.php
'providers' => [
    ...
    Chipk4\Selectel\SelectelApiServiceProvider::class,
    ...
];
```

If you want to make use of the facade you must install it as well.

```
// config/app.php
'aliases' => [
    ..
    'SelectelApi' => Chipk4\Selectel\SelectelApiFacade::class,
];
```

To publish the config file to `app/config/selectel-api.php` run:

```
php artisan vendor:publish --provider="Chipk4\Selectel\SelectelApiServiceProvider"
```

This will publish a file `selectel-api.php` in your config directory with the following contents:

```
return [
    /*
     * This is agreement number from system
     */
    'authUser' => env('SELECTEL_LOGIN'),

    /*
     * Password for cloud storage service.
     * Note: it's different with account password
     */
    'authKey' => env('SELECTEL_PASSWORD'),

    /*
     * API url
     */
    'apiUrl' => 'https://auth.selcdn.ru/',

    /*
     * Default value for request timeout
     */
    'timeout' => 10,

    /*
     * Default storage url
     */
    'storageUrl' => env('SELECTEL_STORAGE_URL', ''),

    /*
     * Response view
     * Can be in json or xml
     */
    'returnView' => env('SELECTEL_RETURN_VIEW', 'json'),

];
```

Usage
-----

[](#usage)

#### With Facade

[](#with-facade)

```
  use SelectelApi;

  SelectelApi::getFile('container', 'fileName');
```

#### With Service Container

[](#with-service-container)

```
    use Chipk4\Selectel\CloudStorage;

    public function test(CloudStorage $storage)
    {
        $storage->getFile('container', 'fileName');
    }
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

Total

5

Last Release

3383d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/427019?v=4)[Andrew Chirskiy](/maintainers/chipk4)[@chipk4](https://github.com/chipk4)

---

Top Contributors

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

---

Tags

laravelphpselectel-apilaravelselectel

### Embed Badge

![Health badge](/badges/chipk4-selectel/health.svg)

```
[![Health](https://phpackages.com/badges/chipk4-selectel/health.svg)](https://phpackages.com/packages/chipk4-selectel)
```

###  Alternatives

[yoelpc4/laravel-cloudinary

Laravel Cloudinary filesystem cloud driver.

3344.6k](/packages/yoelpc4-laravel-cloudinary)[menthe/aliyun-ueditor

UEditor for laravel5 and Aliyun OSS.Store all images and files in Aliyun OSS. Support i18n. UEditor is a Rich Text Web Editor From Baidu.

182.4k](/packages/menthe-aliyun-ueditor)

PHPackages © 2026

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