mirror of
https://github.com/Mactronique/phpcache-bundle.git
synced 2026-03-24 08:52:07 +01:00
doc
This commit is contained in:
22
README.md
22
README.md
@@ -9,6 +9,18 @@ php composer.phar require mactronique/phpcache-bundle "~1.0"
|
||||
|
||||
# Configuration
|
||||
|
||||
## Register Bundle
|
||||
|
||||
Add in your `app/AppKernel.php` :
|
||||
|
||||
```
|
||||
new Mactronique\Bundle\PhpCacheBundle\MactroniquePhpCacheBundle(),
|
||||
```
|
||||
|
||||
## Write sementic configuration
|
||||
|
||||
Add in you `app/config/config.yml`
|
||||
|
||||
``` yml
|
||||
mactronique_php_cache:
|
||||
drivers:
|
||||
@@ -21,4 +33,12 @@ mactronique_php_cache:
|
||||
server: 127.0.0.1
|
||||
port: 11211
|
||||
sharing: 100
|
||||
```
|
||||
-
|
||||
name: "null"
|
||||
```
|
||||
|
||||
# Contributing
|
||||
|
||||
Please fork main repo and send a pull request with your change.
|
||||
|
||||
Thanks your in advance !
|
||||
|
||||
Reference in New Issue
Block a user