pinweb / readit
TJAD Reader Package
0.3.0
2024-09-29 09:47 UTC
Requires
- php: ^8.0
- illuminate/contracts: ^9.0 | ^10.0 | ^11.0
- spatie/laravel-package-tools: ^1.13.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^6.0
- orchestra/testbench: ^7.0|^8.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- phpunit/phpunit: ^9.5
README
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.