https://github.com/lookyman/nette-texy
Quick and easy Texy integration into you Nette Framework projects
https://github.com/lookyman/nette-texy
nette texy
Last synced: 8 months ago
JSON representation
Quick and easy Texy integration into you Nette Framework projects
- Host: GitHub
- URL: https://github.com/lookyman/nette-texy
- Owner: lookyman
- License: mit
- Archived: true
- Created: 2014-08-19T13:46:43.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-07-26T09:02:58.000Z (almost 10 years ago)
- Last Synced: 2024-10-30T05:07:42.558Z (over 1 year ago)
- Topics: nette, texy
- Language: PHP
- Homepage:
- Size: 19.5 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Nette Texy
==========
Quick and easy [Texy](https://texy.info/) integration into you [Nette Framework](https://nette.org/) projects.
[](https://travis-ci.org/lookyman/nette-texy)
[](https://scrutinizer-ci.com/g/lookyman/nette-texy/?branch=master)
[](https://coveralls.io/github/lookyman/nette-texy?branch=master)
[](https://packagist.org/packages/lookyman/nette-texy)
[](https://packagist.org/packages/lookyman/nette-texy)
Installation
------------
Install using the [Composer](http://getcomposer.org/):
```sh
$ composer require lookyman/nette-texy
```
Enable the extension in your [NEON](https://ne-on.org/) config:
```yml
extensions:
texy: Lookyman\NetteTexy\DI\TexyExtension
```
Use the Texy macro or helper in your [Latte](https://latte.nette.org/) templates like this:
```smarty
{texy}some content{/texy}
{$var |texy}
```