agonyz/php-lexica-art-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

agonyz/php-lexica-art-api

最新稳定版本:0.0.4

Composer 安装命令:

composer require agonyz/php-lexica-art-api

包简介

lexica.art API php client

README 文档

README

A simple wrapper for lexica.art API, written in PHP.

Uses Lexica.Art API v1.

Quick Install

composer require agonyz/php-lexica-art-api

Basic usage of php-lexica-art-api client

<?php

require_once __DIR__ . '/../vendor/autoload.php';

$client = new \LexicaArt\LexicaArtClient();
$images = $client->api('search')->searchImage('keyword');

        /**
         * @var $image ImageObject
         */
        foreach($images as $image) {
            $image->getGallery();
        }

        // explore a given style
        $client->api('search')->searchImage($images[0]->getId());

From $client object, you have access to all available lexica.art api endpoints.
Currently only the search endpoint is supported.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固