Download the PHP package openlss/lib-tpl without Composer

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

openlss/lib-tpl

Wrapper library for managing PHPTAL environment. Also supports HTML Tidy formatting.

Usage

Reference

(object) Tpl::_get()

Returns the singleton (creates it if it doesnt exist)

(object) Tpl::setPath($value)

Sets the path to the template files

(object) Tpl::setUri($value)

Sets the URI that should be used when parsing templates

(string) Tpl::addCss($file,$media='screen')

Adds a CSS file entry that gets output to the HEAD section of the body

(bool) Tpl::resetCss()

Clears the CSS buffer

(string) Tpl::addJs($file)

Adds a Javascript file load that will be output to the HEAD section of the body

(bool) Tpl::resetJs()

Clears the JS buffer

(bool) Tpl::set($name,$value=null,$overwrite=true)

Sets a constant that can be used globally in the templates

(bool) Tpl::get($name)

Get a constant by name If $name is NULL returns entire constant tree Returns NULL if no constant exists

(string) Tpl::add($html)

Add raw data to the template body

(object) Tpl::reset()

Resets the body buffer

(object) Tpl::setStub($name,$value=true)

Enables stubs that are loaded conditionally

(object) Tpl::addDebug($value)

Adds debug output to but printed with the template (allows debug data to be formatted more readible)

(string) Tpl::debug()

Returns buffered debug data ready for templating

(string) Tpl::stats()

Collects various stats from script execution The return value is ready for templating

(mixed) Tpl::output($tpl,$params=array(),$echo=true)

Output Function


All versions of lib-tpl with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.2
phptal/phptal Version ~0.0.1
openlss/core-boot Version ~0.0.1
openlss/func-format Version ~0.0.1
openlss/func-mda-glob Version ~0.0.1
openlss/lib-config Version ~0.0.1
openlss/lib-url Version ~0.0.1
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 openlss/lib-tpl contains the following files

Loading the files please wait ....