Skip to content

Xmk/infoflot-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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',
	...
];

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.

About

Laravel Package for Infoflot PHP Client

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages