PHPackages                             orzcc/aliyun-ocs - 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. [Caching](/categories/caching)
4. /
5. orzcc/aliyun-ocs

ActiveLibrary[Caching](/categories/caching)

orzcc/aliyun-ocs
================

Aliyun ocs for Laravel5

41.3k1[1 issues](https://github.com/orzcc/aliyun-ocs/issues)PHP

Since Dec 28Pushed 10y ago1 watchersCompare

[ Source](https://github.com/orzcc/aliyun-ocs)[ Packagist](https://packagist.org/packages/orzcc/aliyun-ocs)[ RSS](/packages/orzcc-aliyun-ocs/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Aliyun OCS
==========

[](#aliyun-ocs)

Aliyun ocs for Laravel5.

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

[](#requirements)

- > = PHP 5.4 with [ext-memcached](http://php.net/manual/en/book.memcached.php)
- To use ocs must with [SASL](http://docs.php.net/manual/en/memcached.setsaslauthdata.php) support, make sure memcached.use\_sasl ON at php.ini

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

[](#installation)

This package can be installed through Composer.

```
composer require orzcc/aliyun-ocs
```

This service provider must be registered.

```
// config/app.php

'providers' => [
    '...',
    'Orzcc\AliyunOcs\AliyunOcsServiceProvider',
];
```

At last, you can edit the config file: config/cache.php.

add a stores config to the file, change your ocs config

```
'ocs' => [
    'driver'  => 'ocs',
    'servers' => [
        [
            'host' => 'Your ocs host',
            'port' => 11211,	// ocs port
            'weight' => 100,

            // 如果免密码登录，则删除以下两行
            'authname' => 'Your ocs auth name',
            'authpass' => 'Your ocs auth pass',
        ],
    ],

],
```

change default to ocs

```
'default' => 'ocs';
```

Usage
-----

[](#usage)

You can now use Laravel5's cache follow the document,

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9fcbc9d87e31e6370d6b5f4913850894ef922c16a5276a55c8d43453e146b6e1?d=identicon)[orzcc](/maintainers/orzcc)

---

Top Contributors

[![orzcc](https://avatars.githubusercontent.com/u/402270?v=4)](https://github.com/orzcc "orzcc (11 commits)")

### Embed Badge

![Health badge](/badges/orzcc-aliyun-ocs/health.svg)

```
[![Health](https://phpackages.com/badges/orzcc-aliyun-ocs/health.svg)](https://phpackages.com/packages/orzcc-aliyun-ocs)
```

###  Alternatives

[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)[ichhabrecht/intcache

Turn uncachable page objects into cacheable links

193.9k](/packages/ichhabrecht-intcache)

PHPackages © 2026

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