Download the PHP package infira/cachly without Composer
On this page you can find all versions of the php package infira/cachly. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download infira/cachly
More information about infira/cachly
Files in infira/cachly
Download infira/cachly
More information about infira/cachly
Files in infira/cachly
Vendor infira
Package cachly
Short Description Quick shortcuts to https://github.com/symfony/cache caching solution
License MIT
Package cachly
Short Description Quick shortcuts to https://github.com/symfony/cache caching solution
License MIT
Please rate this library. Is it a good library?
Informations about the package cachly
Cachly
Quick shortcuts to Symfony caching solution
It is released under the MIT licence. Drivers:
You can comment, offer changes, otherwise contribute here on GitHub, or ask questions to [email protected]
Table of contents
- [Installing/Configuring]
- Basic configure
- Configure PDO/database adapter adapter
- Configure session adapter adapter
- Configure filesystem adapter
- Configure memory adapter
- Configure memcached adapter
- Configure redis adapter
- Set default memory adapter
- Configure your own adapter (basic)
- Configure your own adapter (with shortcuts)
- Basic configure
- Examples
- Basic
- New instance
- Adapter instance shortcuts
Installing/Configuring
Basic configure
Options
defaultAdapter
- adapter which will be used when accessing Cachly::$instanceMethod(...)memAdapter
- adapter which will be used when accessing Cachly::mem()->$instanceMethoddefaultInstanceName
- default namespaceCachly::setPropertyInstances
- for accessing Cachly::$sess instance
Configure PDO/database adapter adapter
Configure session adapter adapter
Configure filesystem adapter
Configure memory adapter
Configure memcached adapter
Configure redis adapter
Set default memory adapter
Configure your own adapter (basic)
@see https://symfony.com/doc/current/components/cache.html for more information
Configure your own adapter (with shortcuts)
Shortcuts
Examples
Choose your favorite
Using method arguments as key
Use automated hashing from any value to compute value.
Defer
Save, commit, autoSave
Sub instances
Using a new instance for default adapter
Adapter instance shortcuts
- yourOwnShortcut - see how to make own shortcuts
All versions of cachly with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
symfony/cache Version ^v6.2
infira/errorhandler Version ^2.1
infira/wolo Version ^1
symfony/cache Version ^v6.2
infira/errorhandler Version ^2.1
infira/wolo Version ^1
The package infira/cachly contains the following files
Loading the files please wait ....