pinweb/readit

TJAD Reader Package

0.2.1 2023-02-20 11:56 UTC

This package is auto-updated.

Last update: 2024-04-20 14:22:53 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is a Laravel Package for TJAD Reader v2.0

Installation

You can install the package via composer:

composer require pinweb/readit

You can publish the config file with:

php artisan vendor:publish --tag="readit-config"

This is the contents of the published config file:

return [
    'reader' => env('READER_URL', 'http://read.dev.pinweb.io'),

    'key'    => env('READER_KEY', '')
];

Usage

$url = Readit::create('http://www.example.com/test.pdf');

or

$url = readit('http://www.example.com/test.pdf');

License

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