osi-open-source/warcott-client

Warcott API client
1,304 1
Install
composer require osi-open-source/warcott-client
Latest Version:1.0.3
PHP:>=7.1.0
License:MIT
Last Updated:Sep 25, 2019
Links: GitHub  ·  Packagist
Maintainer: osi-open-source

Warcott API Client

  • Client - consumes API
    • Fieldsets
    • Mapping
    • Fields

Installation

Simply add the following line to your composer.json and run install/update:

"osi-open-source/warcott-client": "*"

Configuration

Publish the package config files to enter your credentials

php artisan vendor:publish --tag=warcott

Usage

You can use Facade, alias or helper functions

\Warcott\Support\Facades\WarcottClient::getDataset(['domainKey']); 
\WarcottClient::getDataset(['domainKey']); 
warcottDataset([]); 

\Warcott\Support\Facades\WarcottClient::getMapping('domainKey', $data); 
\WarcottClient::getMapping('domainKey', $data); 
warcottMap('domainKey', $data)

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

634,760,849 9,707
laravel/framework

The Laravel Framework.

584,532,650 34,931
laravel/tinker

Powerful REPL for the Laravel framework.

493,838,477 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

408,553,772 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

387,976,821 4,658