Download the PHP package ambersive/documentviewer without Composer

On this page you can find all versions of the php package ambersive/documentviewer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package documentviewer

Document viewer

The goal of this project is the attemp to provide a helper functionality for creating beautiful, printable and secure documents.

Maintainability Test Coverage Build Status

Installation

Usage

Step 1: Create a printable

Step 2: Register the document viewer

Define a route in your desired router. Please be aware that default laravel middleware for web and api might require modifications there (eg for the post request).

The signed attribute will always be in effect for the get request of the document.

If you do not want a upload leave the upload class empty or null.

Step 3: Modifiy the Class

The command above will create Printable Class in the folder Printable within app_path

First of all you should define data which is present or required in the specific blade file.

Then you should provide an uploadHandler. This will be required if you use our Laravel Package for Print generation and the Print-API.

Step 4: Modify the blade file

The make command also creates a blade file within the resource folder. It will come with some basic scaffold settings so you will be able to create beautiful documents in no time.

If you want to create a custom blade file make sure you extend it with our base blade. Otherwise the enhanced view optimizations won't work.

A full example might look like:

Need a way to create PDF files?

We created a microservice which is also open-source to create pdf files. If you need a smooth way to interact with this microservice you can use our package for that.

Security Vulnerabilities

If you discover a security vulnerability within this package, please send an e-mail to Manuel Pirker-Ihl via [email protected]. All security vulnerabilities will be promptly addressed.

License

This package is open-sourced software licensed under the MIT license.


All versions of documentviewer with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version 6.*|7.*|8.*
phlak/semver Version ^3.2
guzzlehttp/guzzle Version ^6.5|7.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ambersive/documentviewer contains the following files

Loading the files please wait ....