定制 javcorreia/laravel-wishlist 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

javcorreia/laravel-wishlist

最新稳定版本:5.0

Composer 安装命令:

composer require javcorreia/laravel-wishlist

包简介

a wishlist for laravel

README 文档

README

Latest Stable Version PHP Version Require License Total Downloads

A simple Wishlist implementation for Laravel |13.*

see Versions for older Laravel versions

  • saves items associated with users
  • saves items associated with sessions on anonymous navigation
  • can retrieve items from a user or session
  • session items can be retrieved and associated with user on login

Forked from Bhavinjr's laravel-wishlist with some added functionality and updated to latest Laravel and PHP versions.

Table of Contents

Versions

Version Supports Status
5.* Laravel [13]; PHP >= 8.3 current
4.* Laravel [11, 12]; PHP >= 8.1 deprecated
3.* Laravel [5.8, 10]; PHP >= 8.0 deprecated
2.2 Laravel [5.8, 9]; PHP ^7.2 deprecated
2.0 Laravel [5.8, 8]; PHP ^7.2 deprecated

Installation

Is installed via Composer by running in your project's root.

composer require javcorreia/laravel-wishlist

Publish the default configuration file:

php artisan vendor:publish --provider="javcorreia\Wishlist\Providers\WishlistServiceProvider"

Before running migration, edit the required settings using the resulting config/wishlist.php file (See Configuration).

To run migrations:

php artisan migrate

Configuration

Configuration was designed to be as flexible as changing the global configuration in the config/wishlist.php file.
You will need to provide at least, the model for the items to be wishlisted, for example:

return [
    'item_model' => App\Models\Product::class,
];

The other values can be the default ones, unless changes are needed.

After updating the config/wishlist.php file execute the following command to cache configs:

php artisan config:cache

Documentation

See DOCS.md

Testing

See TESTS.md

统计信息

  • 总下载量: 883
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-01-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固