Download the PHP package juanchosl/simplecache without Composer

On this page you can find all versions of the php package juanchosl/simplecache. 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 simplecache

SimpleCache

Description

A small collection of read/write functions for multiples cache systems

Install

Performance

From faster to slower

How use it

Use directly one of the available libs

For create a cache instance

For write a cache index

Set into $cache_key the $value, valid for $ttl seconds or default TTL if you don not pass a value

For read a cache index

Read from cache the contents of $cache_key and return his value or $default if it not exists or it is not valid

For delete a cache index

Delete from cache the value with $cache_key

For write multiple cache indexes

Set into $cache_key the $values, an iterable containing a list of $cache_key => $value pairs, valid for $ttl seconds or default TTL if you don not pass a value

For read multiple cache indexes

Read from cache the contents of $cache_keys and return a list of $key => $value pairs. Missed keys has the $default value

For delete a cache index

Delete from cache the values from the $cache_keys list

For replace a cache index

Replace into cache the value with $cache_key with the $new_value without change his expiration time

For change the time to live of cache index

Change the expiration time of $cache_key with the new one passed as $new_ttl

For increment a cache index numeric value

Increments the value into $cache_key adding $numeric_increment to his value. If not exists it is created.

For decrement a cache index numeric value

Decrements the value into $cache_key subtracting $numeric_decrement to his value. If not exists it is created.

For check if the cache contains a $cache_key

Check if key exists, is not recommended, because can be return true and just another script can remove it

For clear all cache indexes

Remove all data from cache

Use the provided adapter for use with compatibility with PSR-16 Simple-Cache

Create a cache instance

After create a Cache Instance, you can use it with the provided PsrSimpleCacheAdapter in order to work conform the PSR-16 https://www.php-fig.org/psr/psr-16/


All versions of simplecache with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2 || ^8.0
psr/log Version 3.0.*
psr/simple-cache Version 3.0.*
psr/cache Version 3.0.*
juanchosl/validators Version 1.0.*
juanchosl/exceptions Version 1.0.*
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 juanchosl/simplecache contains the following files

Loading the files please wait ....