Download the PHP package jmf/twig-type without Composer
On this page you can find all versions of the php package jmf/twig-type. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jmf/twig-type
More information about jmf/twig-type
Files in jmf/twig-type
Download jmf/twig-type
More information about jmf/twig-type
Files in jmf/twig-type
Vendor jmf
Package twig-type
Short Description Twig extension for testing variables type (integer, string, class, etc).
License mit
Package twig-type
Short Description Twig extension for testing variables type (integer, string, class, etc).
License mit
Please rate this library. Is it a good library?
Informations about the package twig-type
Twig extension : type
Installation & Requirements
Install with Composer:
Usage in Twig templates
get_class() filter
Returns class of provided object.
get_type() filter
Returns type of provided variable.
"array" test
Returns true if provided variable is an array.
"bool" (boolean) test
Returns true if provided variable is a boolean.
"float" test
Returns true if provided variable is a float.
"int" (integer) test
Returns true if provided variable is an integer.
"numeric" test
Returns true if provided variable is numeric.
"object" test
Returns true if provided variable is an object.
"scalar" test
Returns true if provided variable is scalar.
"string" test
Returns true if provided variable is a string.
All versions of twig-type with dependencies
PHP Build Version
Package Version
The package jmf/twig-type contains the following files
Loading the files please wait ....