Download the PHP package slowlyo/owl-sku without Composer

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

Owl Admin 扩展: SKU

!! 前提

  1. 需要熟悉常规商城 sku 的处理逻辑
  2. 熟练使用 laravel 以及 Owl Admin
  3. 拥有自行查阅源码的能力 (重点)

使用说明

数据表

goods (商品表)

默认只有一个 name 字段, 实际使用请根据需求自行添加

字段 说明
id
name 商品名称

goods_spec_groups (规格组)

字段 说明
id
goods_id 所属商品
name 规格组名称

goods_specs (规格值)

字段 说明
id
goods_id 所属商品
group_id 所属规格组
name 规格名称

goods_skus (sku)

默认只记录 pricestock 两个字段, 实际使用请根据需求自行调整

字段 说明
id
goods_id 所属商品
spec_ids 规格id(逗号分隔,升序)
price 价格
stock 库存
sku_json sku 数据, json 格式

如何使用

组件的使用

原理: 通过 combo 组件, 结合后端代码, 实现了一个灵活的 sku 编辑器

sku 数据保存

Slowlyo\OwlSku\Services\GoodsService 中, 已经处理了新增商品和编辑商品的逻辑

可直接使用或重写

sku 数据回显

开发注意事项


All versions of owl-sku with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
slowlyo/owl-admin 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 slowlyo/owl-sku contains the following files

Loading the files please wait ....