PHPackages                             mactronique/phpcache-bundle - 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. mactronique/phpcache-bundle

Abandoned → [doctrine/doctrine-cache-bundle](/?search=doctrine%2Fdoctrine-cache-bundle)ArchivedLibrary[Caching](/categories/caching)

mactronique/phpcache-bundle
===========================

Bundle wrapper for phpcache library

1.0.1(10y ago)1208[1 issues](https://github.com/Mactronique/phpcache-bundle/issues)MITPHPPHP &gt;=5.5.9

Since Sep 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Mactronique/phpcache-bundle)[ Packagist](https://packagist.org/packages/mactronique/phpcache-bundle)[ RSS](/packages/mactronique-phpcache-bundle/feed)WikiDiscussions master Synced 1w ago

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

phpcache-bundle
===============

[](#phpcache-bundle)

[![Dependency Status](https://camo.githubusercontent.com/1832a4dfe3539a3e709041ce5bb92984fb19286e6cd74128b1296b4f80e3b9c9/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3535633236376438363533373632303031373030326163652f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/55c267d86537620017002ace)[![Latest Stable Version](https://camo.githubusercontent.com/640ad346edea09c5e1955959ecef0d23f118d1a4d6680b6003512340cf2279b4/68747470733a2f2f706f7365722e707567782e6f72672f6d616374726f6e697175652f70687063616368652d62756e646c652f762f737461626c65)](https://packagist.org/packages/mactronique/phpcache-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/3521e290e3663f775328aa3b16330c77c1774aecd438bd8f3825d4a390cde742/68747470733a2f2f706f7365722e707567782e6f72672f6d616374726f6e697175652f70687063616368652d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/mactronique/phpcache-bundle)[![License](https://camo.githubusercontent.com/76d707d86ed95fecebef0a032ce1184dc9b3a7e4fc49b4077ae092da37592ee9/68747470733a2f2f706f7365722e707567782e6f72672f6d616374726f6e697175652f70687063616368652d62756e646c652f6c6963656e7365)](https://packagist.org/packages/mactronique/phpcache-bundle)

Install
-------

[](#install)

```
php composer.phar require mactronique/phpcache-bundle "~1.0"

```

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

[](#configuration)

Register Bundle
---------------

[](#register-bundle)

Add in your `app/AppKernel.php` :

```
new Mactronique\Bundle\PhpCacheBundle\MactroniquePhpCacheBundle(),

```

Write sementic configuration
----------------------------

[](#write-sementic-configuration)

Add in you `app/config/config.yml`

```
mactronique_php_cache:
    drivers:
        -
            name: xcache
        -
            name: redis
            options:
                    host: 127.0.0.1
                    port: 6379
                    password: ''
                    database: 1
                    timeout: 1
		-
			name: memcached
			options:
				-
					server: 127.0.0.1
					port: 11211
					sharing: 100
        -
            name: "null"
```

Use
===

[](#use)

In controller :

```
// Set value into key for 30 seconds
$this->get('mactronique_cache.phpcache')->set('key', 'value', 30);

// Set value into key
$this->get('mactronique_cache.phpcache')->set('key', 'value');

//get key
$this->get('mactronique_cache.phpcache')->get('key');

//check if key exists
$this->get('mactronique_cache.phpcache')->exists('key');

//remove key
$this->get('mactronique_cache.phpcache')->remove('key');

```

Contributing
============

[](#contributing)

Please fork main repo and send a pull request with your change.

Thanks your in advance !

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

3911d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a15c90b32e75c27fc63f79357a914b4caa7af5fdb69a2e150341515ddececf95?d=identicon)[Macintosh\_plus](/maintainers/Macintosh_plus)

---

Top Contributors

[![macintoshplus](https://avatars.githubusercontent.com/u/814683?v=4)](https://github.com/macintoshplus "macintoshplus (20 commits)")

### Embed Badge

![Health badge](/badges/mactronique-phpcache-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/mactronique-phpcache-bundle/health.svg)](https://phpackages.com/packages/mactronique-phpcache-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M370](/packages/easycorp-easyadmin-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[web-auth/webauthn-symfony-bundle

FIDO2/Webauthn Security Bundle For Symfony

66474.5k8](/packages/web-auth-webauthn-symfony-bundle)[symfony-bundles/redis-bundle

Symfony Redis Bundle

291.2M6](/packages/symfony-bundles-redis-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

929.0k](/packages/ahmed-bhs-doctrine-doctor)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1715.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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