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 1mo 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 27% 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

[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)[cheprasov/php-redis-client

Php client for Redis. It is a fast, fully-functional and user-friendly client for Redis, optimized for performance. RedisClient supports the latest versions of Redis starting from 2.6 to 6.0

1281.2M21](/packages/cheprasov-php-redis-client)[amphp/redis

Efficient asynchronous communication with Redis servers, enabling scalable and responsive data storage and retrieval.

165634.7k44](/packages/amphp-redis)

PHPackages © 2026

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