Download the PHP package effiana/phpfastcache-bundle without Composer

On this page you can find all versions of the php package effiana/phpfastcache-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package phpfastcache-bundle

Code Climate Scrutinizer Code Quality Build Status Latest Stable Version Total Downloads License

Symfony Flex PhpFastCache Bundle

:warning: Please note that the V3 is a major (BC breaking) update of the PhpFastCache Bundle !

As of the V3 the bundle is absolutely not compatible with previous versions.\ To ensure you the smoothest migration possible, please check the migration guide in the Resources/Docs directory.\ One of the biggest change is the Phpfastcache's dependency which is not set to the v7 which it not backward compatible at all.

:thumbsup: Step 1: Include phpFastCache Bundle in your project with composer:

:construction: Step 2: Setup your config/packages/phpfastcache.yaml to configure your cache(s) instance(s)

:rocket: Step 3: Accelerate your app by making use of PhpFastCache service

Caching data in your controller:

Or in your template:

:computer: CLI command interactions

As of the V3, some command-line tools were introduced, mostly for CRUD-like operations.

GET operation

This will display the content of a cache item if it eventually exists.

SET operation

This will set the content of a cache item.\ The TTL (300), in seconds, is optional and take the default value filled in your configuration file.\ The auto-type-cast option "-a" (enabled by default) will let allows you to automatically type cast your variable:

You can obviously disable this behavior by turning off the auto-type-cast option: -a 0

DELETE operation

This will delete the specified cache item.

CLEAR operation

This will clear a single cache instance if specified or all the configured cache instances otherwise.

:bulb: Introducing Cacheable Responses (V3 only)

As of the V3 there's a new, easier and cleaner way to setup HTTP cache to decrease your server bandwidth along with your CPU load: Cacheable Responses. And it's pretty easy to implement:

CacheableResponse is provided by \Phpfastcache\Bundle\Response\CacheableResponse. This class will handle responses headers (cache-control, etag, etc...) and http status (304 Not modified).

:boom: phpFastCache Bundle support

Found an issue or had an idea ? Come here here and let us know !


All versions of phpfastcache-bundle with dependencies

PHP Build Version
Package Version
Requires symfony/framework-bundle Version ^3.4 | ^4.0 | ^5.0
symfony/console Version ^3.4 | ^4.0 || ^5.0
symfony/dependency-injection Version ^3.4 | ^4.0 | ^5.0
symfony/http-foundation Version ^3.4 | ^4.0 | ^5.0
symfony/yaml Version ^3.4 | ^4.0 | ^5.0
phpfastcache/phpfastcache Version ^7.0
php Version ^7.2
ext-mbstring Version *
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package effiana/phpfastcache-bundle contains the following files

Loading the files please wait ....