Download the PHP package fvhockney/latexcompiler without Composer

On this page you can find all versions of the php package fvhockney/latexcompiler. 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 latexcompiler

latexcompiler

This project aims to create an intuitive way for laravel users to create PDF documents through LaTeX with minimal pain.

I leverage the blade template to write the actual LaTeX code and compile with pdflatex. This allows for the use of {{ }} to drop in variables and use all of the normal blade commands.

Installation

Available through composer:

composer require fvhockney/latexcompiler

Configuration

Publish the configuration file:

This publishes the default configuration file to config/fvlatex.php where you can modify your default preferences.

NB: logging automatically merges from the vendor file fvlatexlogchannel.php to the default config/logging.php file on boot.

Usage

This packages is compatible with injection. You can use the fluent interface to pass in required and optional parameters.

Required

Optional

Create Something

Getting results

Try out

There is an example controller, tex template view, and form view included for you to try this out in your setup without having to waste time writing the form and tex files. Just copy the controller to your app/Http/Controllers, set up at GET route for the form and POST to the controller to get started.

IMPORTANT!!

Make sure you have tex installed on your system and that you provide the fully qualified path to where pdflatex is located.

LaTeX can be pretty finicky, so I highly recommend that you test your templates extensively on a local system before deploying. Also, there is currently no escaping of user inputs, so if your users input a reserved character in Tex, it will not be escaped automatically and could break the compilation sequence.

TODO

Collaboration

I would love to hear your thoughts and ideas about how to make this package better! Feel free to contact me, fork, or submit a pull request!


All versions of latexcompiler with dependencies

PHP Build Version
Package Version
No informations.
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 fvhockney/latexcompiler contains the following files

Loading the files please wait ....