findbrok/laravel-tradeoff-analytics

This package is abandoned and no longer maintained. No replacement package was suggested.

A simple Laravel 5 Wrapper around IBM Watson Tradeoff Analytics API

v0.2.0 2017-06-07 18:05 UTC

This package is auto-updated.

Last update: 2023-06-05 01:15:51 UTC


README

laravel-tradeoff-analytics.png

Laravel 5 Tradeoff Analytics

Latest Stable Version Latest Unstable Version Build Status StyleCI License Total Downloads 68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f66363165393335372d323530662d343831362d623663302d6165316563306263616134322f6d696e692e706e67

Introduction

Laravel 5 Tradeoff Analytics is a simple Laravel 5 wrapper around IBM Watson Tradeoff Analytics API

License

Laravel 5 Tradeoff Analytics is open-sourced software licensed under the MIT license.

How it works

Tradeoff Analytics is a Watson service that helps people make decisions when balancing multiple objectives. The service uses a mathematical filtering technique called “Pareto Optimization,” that enables users to explore tradeoffs when considering multiple criteria for a single decision.

Intended Use

Tradeoff Analytics can help bank analysts or wealth managers select the best investment strategy based on performance attributes, risk, and cost. It can help consumers purchase the product that best matches their preferences based on attributes like features, price, or warranties. Additionally, Tradeoff Analytics can help physicians find the most suitable treatment based on multiple criteria such as success rate, effectiveness, or adverse effects.

Installation

Install the package through composer

$ composer require findbrok/laravel-tradeoff-analytics

Depending on your Laravel version you will install one of the following versions of Tradeoff Analytics.

Laravel Tradeoff Analytics
5.0.x - 5.3.x 0.1.x
5.4.x - 5.5.x 0.2.x

If you are using Laravel >= 5.5, you can skip service registration and aliases registration thanks to Laravel auto package discovery feature.

Add the WatsonBridgeServiceProvider and TradeoffAnalyticsServiceProvider to your providers array in config/app.php, see Registering Providers:

'providers' => [
    // Other Service Providers...
    FindBrok\WatsonBridge\WatsonBridgeServiceProvider::class,
    FindBrok\TradeoffAnalytics\TradeoffAnalyticsServiceProvider::class,
]

You can also add the following alias to you app.php file:

'aliases' => [
    ...
    'TradeoffAnalytics' => FindBrok\TradeoffAnalytics\Facades\TradeoffAnalytics::class,
]

Configuration

Once installed you can now publish your config file and set your correct configuration for using the package:

$ php artisan vendor:publish --tag="watson-api-bridge"
$ php artisan vendor:publish --tag="watson-tradeoff-analytics"

This will create the files config/watson-bridge.php and config/tradeoff-analytics.php respectively.

Usage

Read the docs

Credits

Big Thanks to all developers who worked hard to create something amazing!

Creator

Percy Mamedy

Twitter: @PercyMamedy
GitHub: percymamedy