Download the PHP package particle-academy/fancy-template without Composer

On this page you can find all versions of the php package particle-academy/fancy-template. 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 fancy-template

fancy-template

Document templates for the Fancy document writers -- fine-print (PDF), last-word (docx), dark-slide (pptx) and holy-sheet (xlsx). A template is a writer document with {{ tokens }} in some string values and JSON directives on some array items, plus a declaration of the data it needs:

One specification (SPEC.md), three implementations with the same API:

Missing data is loud, errors carry a code and a JSON Pointer and never a data value, and every input is bounded. Values are encoded for where they land: holy-sheet strings are written { "value": s } so data can never become a formula; dark-slide values are escaped for the element's markdown or html.

The three legs pass the same 203 template/* conformance rows (fancy-conformance 0.36.0) and produce byte-identical output on every row and on the realistic templates in examples/ (php php/tests/parity.php).

A customer's own file as the template

Any .docx / .dotx, .pptx / .potx / .ppsx or .xlsx / .xltx with {{ tokens }} typed into it can be filled as it is (PHP; SPEC.md section 12):

The TypeScript and Python legs throw FileTemplatesNotImplementedError for now. Repeating sections (a row per line item) are not covered yet.

examples/ holds the default certificate (fine-print), an invoice (last-word), a quarterly deck (dark-slide) and a regional report (holy-sheet).

Status: PHP 0.1.0 on Packagist. The TypeScript and Python legs are built and unpublished: the npm and PyPI names need their first publish. See CHANGELOG.md.


All versions of fancy-template with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
particle-academy/fancy-expr Version >=0.2.0 <2.0
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 particle-academy/fancy-template contains the following files

Loading the files please wait ...