承接 cryptoweb/infoflot-laravel 相关项目开发

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

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

cryptoweb/infoflot-laravel

最新稳定版本:0.1.5

Composer 安装命令:

composer require cryptoweb/infoflot-laravel

包简介

Laravel Package for Infoflot PHP Client

README 文档

README

Latest Version License

Warning

This package is at an early stage of development!

Description

Laravel Package for fast and easy access to Infoflot API. This package is wrap for the cryptoweb/infoflot-api for the Laravel

Note

Basic documentation: https://restapi.infoflot.com/docs

Installation

composer require cryptoweb/infoflot-laravel

Usage

Use .env variable:

INFOFLOT_API_KEY=insert-api-key-here

Or publish the package config:

php artisan vendor:publish --tag=infoflot-config

Then, put your api key in the config/infoflot.php

return [
	...
	'api_key' => 'insert-api-key-here',
	...
];

For tests use demo api url:

INFOFLOT_BASE_URI=https://demoapi.infoflot.com

Usage with helper method

$riverCruises = infoflot()->cruises()->type('river')->get();

Usage with facade

use CryptoWeb\Infoflot\Facades\Infoflot;
// or Alias
use Infoflot;

$riverCruises = Infoflot::cruises()->type('river')->get();

/// etc...

License

The MIT License (MIT). Please see LICENSE for more information.

统计信息

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

GitHub 信息

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

其他信息

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