Download the PHP package goodnesskay/laravelpdfviewer without Composer
On this page you can find all versions of the php package goodnesskay/laravelpdfviewer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download goodnesskay/laravelpdfviewer
More information about goodnesskay/laravelpdfviewer
Files in goodnesskay/laravelpdfviewer
Package laravelpdfviewer
Short Description A Laravel Package for viewing PDF files or documents on Web App
License MIT
Informations about the package laravelpdfviewer
Laravel PDF VIEWER
This package is meant to help with viewing portable document file(PDF) on the web seamlessly when developing with Laravel. The package makes use of ViewerJS
Requirement
Installation
To install into your project, run the command below in your terminal.
Once the package is done being installed, register the service provider. Open config/app.php
and add the following to the providers
key.
Configure
Run this in your terminal:
It will publish a folder named laraview
to the root folder of your project.
How it Works
Simple!!! After installations and configurations have been carried out successfully, add the code below to your html file
It should look like this:
Then, you should have something like this:
Note:
After
#../
in{{ asset('/laraview/#../folder-name/the-pdf-file.pdf') }}
, what should follow is the folder name of the pdf files in the public folder then, the pdf file name can follow.
Contribute
You can fork
this package, contribute
and submit a pull request
. I will really love it.
You want to appreciate me?
You can appreciate me by starring this repository and follow me on Github , twitter and subscribe to my Youtube Channel!
I love you like mad.
Goodness Kayode | Pusher of Codes
License
MIT License (MIT).