承接 plopix/octodex 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

plopix/octodex

Composer 安装命令:

composer require plopix/octodex

包简介

Octodex from Github, PHP scrapping API

README 文档

README

Provide a PHP class which allow you to retrieve easily links of OCTOCAT® png file.

Usage

$provider = new \Plopix\Octodex\Provider();
$cat = $provider->getRandom();
print $cat;
print $provider->getNumber(42);

With Symfony as a Service ?

Create a service

# Resources/config/services.yml
    Plopix\Octodex\Provider:
        arguments: ['%kernel.cache_dir%',43200]

Special notes and other considerations

GITHUB® owns all of the OCTOCAT®, this code just retrieves the data.

GITHUB®, the GITHUB® logo design, OCTOCAT® and the OCTOCAT® logo design are exclusive trademarks registered in the United States by GitHub, Inc. The OCTOCAT design is the exclusive property of GitHub, Inc and has been federally registered with the United States Copyright Office. All rights reserved. No adaptation or use of any kind of any of our registered trademarks or copyrights, or any other contents of this website, is allowed without the express written permission of GitHub, Inc.

See more: https://octodex.github.com/faq.html

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-23