pinweb/readit

TJAD Reader Package

0.3.0 2024-09-29 09:47 UTC

This package is auto-updated.

Last update: 2024-11-29 10:12:07 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.