定制 iikoapilibrary/iikoapi 二次开发

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

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

iikoapilibrary/iikoapi

最新稳定版本:0.1.5

Composer 安装命令:

composer require iikoapilibrary/iikoapi

包简介

The library provides method for work with iikoAPI

README 文档

README

iikoAPI Library is a PHP client for interacting with the iiko API. It is designed to simplify the process of making API calls to iiko and handling the responses.

Installation

You can install the package via composer:

composer require iikoapilibrary/iikoapi

Configuration

After installing the iikoAPI Library, publish its configuration file to your Laravel project:

php artisan vendor:publish --provider="IikoApiLibrary\Providers\iikoServiceProvider" --tag="iikoapi-config"

Resources

Also you need to publish resource files to your Laravel project

php artisan vendor:publish --provider="IikoApiLibrary\Providers\iikoServiceProvider" --tag="iikoapi-resources"

This will publish the iikoapi.php configuration file to your config directory. In this file, you can specify the API login credentials and other settings.

Usage

Here is a simple example of how to use the iikoAPI client:

$organization = iikoClientFacade::create()->GetOrganizationsInfo();

$menu = iikoClientFacade::create()->ExportMenu($organization['organizations'][0]['id']);

$arr = $menu->toArray(1);

echo dd($arr);

Make sure to check out the API documentation for a list of available methods.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-19