Skip to content

Silex service provider to integrate the caching library Stash for the silex micro framework

License

Notifications You must be signed in to change notification settings

bt51/StashServiceProvider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StashServiceProvider

The StashServiceProvider provides the "tedivm/stash" library for silex. Read more on stash here: stash.tedivm.com Note: The StashServiceProvider uses master branch of Stash. Stash is under active development.

Installation

Create a composer.json in your project

{
    "require": {
        "bt51/stash-serviceprovider": "dev-master"
    }
}

Read more on composer here: http://getcomposer.org

Parameters

  • stash.driver.options: An array of options to be passed to the driver's constructor
  • stash.driver.class: The cache class adapter to use

Services

  • stash: Instance of Stash\Pool
  • stash.handler: Instance of Stash\Handler{stash.driver.class}

Registering

See the example/ directory to see how to register the service

License

MIT

About

Silex service provider to integrate the caching library Stash for the silex micro framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages