{"id":13505101,"url":"https://github.com/asm89/twig-lint","last_synced_at":"2025-04-04T20:13:25.610Z","repository":{"id":6510965,"uuid":"7751676","full_name":"asm89/twig-lint","owner":"asm89","description":"Standalone twig linter.","archived":false,"fork":false,"pushed_at":"2021-11-19T12:49:23.000Z","size":37,"stargazers_count":118,"open_issues_count":13,"forks_count":32,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-14T06:25:40.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asm89.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-22T12:05:48.000Z","updated_at":"2024-09-01T09:46:32.000Z","dependencies_parsed_at":"2022-09-08T18:40:23.831Z","dependency_job_id":null,"html_url":"https://github.com/asm89/twig-lint","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asm89%2Ftwig-lint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asm89%2Ftwig-lint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asm89%2Ftwig-lint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asm89%2Ftwig-lint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asm89","download_url":"https://codeload.github.com/asm89/twig-lint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247242680,"owners_count":20907134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T00:00:58.537Z","updated_at":"2025-04-04T20:13:25.594Z","avatar_url":"https://github.com/asm89.png","language":"PHP","funding_links":[],"categories":["Standalone","Programming Languages"],"sub_categories":["Bugs finders"],"readme":"twig-lint - Standalone twig linter\n==================================\n\ntwig-lint is a lint tool for your twig files.\n\nIt can be useful to integrate in your ci setup or as the basis of editor plugins (e.g. [syntastic](https://github.com/scrooloose/syntastic) for Vim).\n\n[![Build Status](https://secure.travis-ci.org/asm89/twig-lint.png?branch=master)](http://travis-ci.org/asm89/twig-lint)\n\nInstallation / Usage\n--------------------\n\n### As a dev dependency (recommended)\n\nAdd the following to your `composer.json`:\n\n```json\n{\n    \"require-dev\": {\n        \"asm89/twig-lint\": \"*\"\n    }\n}\n```\n\nRun `./bin/twig-lint lint \u003cfile\u003e`.\n\n### As standalone executable\n\nInstall as a global composer dependency:\n\n```bash\ncomposer global require \"asm89/twig-lint\" \"@stable\"\n```\n\nRun `~/.composer/vendor/bin/twig-lint lint \u003cfile\u003e`.\n\n### Vim and Syntastic configuration\n\nFor the standalone executable, add the following to your `~/.vimrc` file:\n\n```vim\nlet g:syntastic_twig_twiglint_exec = 'php'\nlet g:syntastic_twig_twiglint_exe = 'php /path/to/twig-lint'\n```\n\nFor the composer dependency, twig-lint must be in your `$PATH`, no further\nconfiguration is needed.\n\nAuthors\n-------\n\nAlexander \u003ciam.asm89@gmail.com\u003e\u003cbr /\u003e\nMarc Weistroff \u003cmarc.weistroff@sensiolabs.com\u003e (creator of the original `twig:lint` command in the symfony framework)\n\nLicense\n-------\n\n- twig-lint is licensed under the MIT License - see the LICENSE file for details\n- 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).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasm89%2Ftwig-lint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasm89%2Ftwig-lint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasm89%2Ftwig-lint/lists"}