dana
f453680b04
Fix licence formatting
2018-06-02 01:48:22 -05:00
dana
f294101183
Support environment variables as input data; add JSON escape strategy
...
Merge pull request #1 from peets/master
2018-02-18 16:45:47 -06:00
peets
281b50438a
Add json escape strategy
2018-02-18 17:14:03 -05:00
peets
dfcf0349ca
Support using environment variables as input data
...
This uses the $_ENV superglobal, which is an empty array unless the
variables_order ini directive contains "E"; see
http://php.net/manual/en/ini.core.php#ini.variables-order .
Environment variables have lower precedence than input data passed via
other means, e.g.
$ echo '{{USER}}' | twigc --env
peets
$ echo '{{USER}}' | twigc --env -p USER=foo
foo
2018-02-18 17:13:54 -05:00
peets
593f69d0c1
Ignore phar.readonly directive when compiling phar
2018-01-14 15:53:07 -05:00
dana
c85e24602d
Improve auto-loader resolution
2016-07-31 19:03:27 -05:00
dana
0403b21af7
Auto-detect escaping method (default to no escaping), learn some new boolean values
2016-07-29 23:08:56 -05:00
dana
999530151e
Remove dis-used file
2016-07-29 22:15:27 -05:00
dana
d5ae7c4e73
Add --cache option
2016-07-24 16:22:41 -05:00
dana
36d2d6d99d
Fix over-zealous test excludes in PharCompiler
2016-07-24 16:22:31 -05:00
dana
c8deccc83d
Add README
2016-07-24 16:03:26 -05:00
dana
bfa53de347
Add LICENCE
2016-07-24 16:03:26 -05:00
dana
9a07d225f9
Add Makefile
2016-07-24 16:03:26 -05:00
dana
48fb6be6e6
Add source
2016-07-24 16:03:26 -05:00
dana
296717820c
Add composer.json, composer.lock
2016-07-24 16:03:25 -05:00
dana
ab99129af5
Add gitignore
2016-07-24 16:03:25 -05:00