2017 © Pedro Peláez
 

library laritio

Laravel package for Publit.io PHP SDK.

image

techshark/laritio

Laravel package for Publit.io PHP SDK.

  • Tuesday, July 17, 2018
  • by tylerbrennan
  • Repository
  • 0 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Laritio

Laravel package for Publit.io PHP SDK., (*1)

Installation

  1. Register the LaritioServiceProvider in config/app.php
  2. Execute php artisan vendor:publish and publish the Laritio config file.
  3. Add your configuration values for Laritio to your .env

You're all done!, (*2)

Usage

File upload, (*3)

$laritioSDKFileRequest = new LaritioSDKFileRequest(
    '/images/example.png', 
    ['title' => 'example title']
);

$laritioSDK->uploadFile($laritioSDKFileRequest);

Watermark, (*4)

$laritioSDKWatermarkRequest = new LaritioSDKWatermarkRequest(
    '/images/example.png',
    [
        'name' => 'mytestwm', 
        'position' => 'bottom-right', 
        'padding' => '20'
    ]
);

$laritioSDK->uploadFile($laritioSDKWatermarkRequest);

General request, (*5)

adtags list as example., (*6)

$laritioSDKRequest = new LaritioSDKRequest(
    '/players/adtags/list'
);

$laritioSDK->call($laritioSDKRequest);

For all possibilities see the publit.io API documentation at: https://publit.io/docs/?php#getting-started, (*7)

The Versions

17/07 2018

dev-master

9999999-dev

Laravel package for Publit.io PHP SDK.

  Sources   Download

MIT

The Requires

 

The Development Requires

17/07 2018

1.0

1.0.0.0

Laravel package for Publit.io PHP SDK.

  Sources   Download

MIT

The Requires

 

The Development Requires