Created
July 9, 2015 13:07
-
-
Save mishak87/59fa70394e3885bdb04a to your computer and use it in GitHub Desktop.
Debug Latte output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
require __DIR__ . '/vendor/autoload.php'; | |
echo (new Latte\Engine) | |
->setLoader(new Latte\Loaders\StringLoader) | |
->compile(file_get_contents('php://stdin')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -sS https://getcomposer.org/installer | php | |
php composer.phar require latte/latte |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment