Download the PHP package itsahappymedium/ttc without Composer
On this page you can find all versions of the php package itsahappymedium/ttc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download itsahappymedium/ttc
More information about itsahappymedium/ttc
Files in itsahappymedium/ttc
Package ttc
Short Description A PHP Command Line tool for compiling Twig template files.
License MIT
Homepage https://github.com/itsahappymedium/ttc
Informations about the package ttc
Twig Template Compiler
A PHP Command Line tool for compiling Twig template files.
Installation
To a package (local)
To your system (global)
Usage
Example
At the very least, one of input or source options are required.
Options
-
--arguments-file/-f- A file to load twig arguments/variables from. -
--arguments-file-type/-t- The type of filearguments-fileis. (Possible values:env,json,yml) (If omitted, the file type will be automatically determined based on the file extension.) -
--arguments-file-base/-b- A dot-notation path inside ofarguments-filewhere the arguments/variables should be loaded from. -
--destination/-d- The directory to place the generated files in. (If omitted, the files will be placed in the same directory as the twig files) -
--input/-i- An individual twig file to compile. -
--output/-o- The path where the individual compiled file should go. (Used in combination withinput) (If omitted, the compiled file will be placed in the same directory as the twig file) --source/-s- The directory where the twig files are.
Flags
--recursive/-r- Sets whether or not thesourcedirectory should be searched recursively. (Only used when thesourceoption is used)
Related
-
FEC - A PHP Command Line tool that makes it easy to compile, concat, and minify front-end Javascript and CSS/SCSS dependencies.
- GPM - A PHP Command Line tool that makes it easy to download dependencies from GitHub.
License
MIT. See the license.md file for more info.
All versions of ttc with dependencies
splitbrain/php-cli Version ^1.1
twig/twig Version ^3.4.3
symfony/yaml Version ^6.0