Download the PHP package byjg/jinja-php without Composer

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

Jinja for PHP

Build Status Opensource ByJG GitHub source GitHub license GitHub release

Jinja for PHP is a PHP implementation of the Jinja2 template engine.

Introduction

This library is a port of the Jinja2 template engine to PHP. It is a partial implementation of the Jinja2 template engine.

The main goal of this library is allow process templates both in Jinja Python and PHP, however he API is not the same as the original in Python.

Implemented Features

Currently, the following features are implemented:

Literals

Most of the literals are supported. e.g.

@todo: use the python notation for dictionaries.

Variables

Most of the variables are supported. e.g.

@todo: The notation with brackets is not yet supported.

Filters

Some filters are implemented:

Math Operations

Concatenation

Comparison

Logic Operations

There are some differences between the Python and PHP implementation. TODO: use and and or instead of && and ||

If

@todo: elif is not implemented yet.

For

@todo: else is not implemented yet.

Loop control variable:

Usage

Installation

Dependencies


Open source ByJG


All versions of jinja-php 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 byjg/jinja-php contains the following files

Loading the files please wait ....