Download the PHP package fancyecommerce/fecshop_redis_cart without Composer

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


Latest Stable Version Total Downloads Latest Unstable Version License

Fecshop Redis购物车的实现

fecshop 采用redis实现底层, 存储用户的cart信息。

安装

or 在根目录的composer.json中添加

注意版本号:

fecshop-1.7.1.0以上版本请使用yii2_fecshop_redis_cart-1.2.0以上的版本

fecshop-1.7.0.0以下的版本请使用yii2_fecshop_redis_cart-1.1.0

版本查看:https://github.com/fecshop/yii2_fecshop_redis_cart/releases

https://github.com/fecshop/yii2_fecshop_redis_cart/releases

然后执行

配置

1.配置文件复制

vendor\fancyecommerce/fecshop_redis_cart\config\fecshop_rediscart.php 复制到 @common\config\fecshop_third_extensions\fecshop_rediscart.php(需要创建该文件)

该文件是扩展的配置文件,通过上面的操作,加入到fecshop的插件配置中

2.redis配置

Cart信息保存到磁盘,因此需要配置redis写入到磁盘,可以参看: yii2 – redis 配置1.2 (可选操作)对于redis的磁盘存储 部分。

3.配置文件

4.然后,cart信息就存储到redis里面了,该扩展安装在路径 vendor/fancyecommerce/fecshop_redis_cart


All versions of fecshop_redis_cart with dependencies

PHP Build Version
Package Version
Requires fancyecommerce/fecshop Version >=1.3.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 fancyecommerce/fecshop_redis_cart contains the following files

Loading the files please wait ....