Download the PHP package asm89/twig-lint without Composer
On this page you can find all versions of the php package asm89/twig-lint. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download asm89/twig-lint
More information about asm89/twig-lint
Files in asm89/twig-lint
Package twig-lint
Short Description Standalone twig linter.
License MIT
Homepage https://github.com/asm89/twig-lint
Informations about the package twig-lint
twig-lint - Standalone twig linter
twig-lint is a lint tool for your twig files.
It can be useful to integrate in your ci setup or as the basis of editor plugins (e.g. syntastic for Vim).
Installation / Usage
As a dev dependency (recommended)
Add the following to your composer.json
:
Run ./bin/twig-lint lint <file>
.
As standalone executable
Install as a global composer dependency:
Run ~/.composer/vendor/bin/twig-lint lint <file>
.
Vim and Syntastic configuration
For the standalone executable, add the following to your ~/.vimrc
file:
For the composer dependency, twig-lint must be in your $PATH
, no further
configuration is needed.
Authors
Alexander [email protected]
Marc Weistroff [email protected] (creator of the original twig:lint
command in the symfony framework)
License
- twig-lint is licensed under the MIT License - see the LICENSE file for details
- I am providing code in this repository to you under an open source license. Because this is my personal repository, the license you receive to my code is from me and not from my employer (Facebook).
All versions of twig-lint with dependencies
symfony/finder Version ^2.1 || ^3.0 ||^4.0
twig/twig Version ^1.16.2