定制 elyes/sonos-wrapper 二次开发

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

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

elyes/sonos-wrapper

最新稳定版本:1.0.2

Composer 安装命令:

composer require elyes/sonos-wrapper

包简介

Library to get information of every product sell by sonos

README 文档

README

Library to get information of every product sell by sonos

Installation

composer require elyes/sonos-wrapper

Local development

composer install
php vendor/bin/phpstan analyze src --level=max

Usage

When you install the library you will have access to multiple function

Get all categories

Retrieve all categories from sonos website

 $api = new \Elyes\SonosWrapper\Api()->getCategories();

return an array of categories

Get all products of category

Retrieve all products of a category

Put a category name as parameter, you can get the category name from the previous function

 $api = new \Elyes\SonosWrapper\Api()->getProductsByCategory(String $category);

return an array of products

Get product information

Retrieve all information of a product

Put a product name as parameter, you can get the product name from the previous function

 $api = new \Elyes\SonosWrapper\Api()->getProduct(String $product);

return an array of product information

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-05