{"id":13417387,"url":"https://github.com/vituum/vite-plugin-latte","last_synced_at":"2026-05-08T16:36:36.416Z","repository":{"id":52190463,"uuid":"502158600","full_name":"vituum/vite-plugin-latte","owner":"vituum","description":"⚡️☕ Vite plugin for Latte, transforms latte templates via php into HTML","archived":false,"fork":false,"pushed_at":"2024-11-25T10:07:49.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T23:31:24.377Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vituum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-10T19:28:50.000Z","updated_at":"2024-11-25T10:07:54.000Z","dependencies_parsed_at":"2024-10-26T14:05:19.305Z","dependency_job_id":null,"html_url":"https://github.com/vituum/vite-plugin-latte","commit_stats":null,"previous_names":["lubomirblazekcz/vite-plugin-latte"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vituum%2Fvite-plugin-latte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vituum%2Fvite-plugin-latte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vituum%2Fvite-plugin-latte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vituum%2Fvite-plugin-latte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vituum","download_url":"https://codeload.github.com/vituum/vite-plugin-latte/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240434304,"owners_count":19800550,"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-07-30T22:00:36.261Z","updated_at":"2026-05-08T16:36:36.408Z","avatar_url":"https://github.com/vituum.png","language":"PHP","funding_links":[],"categories":["Plugins"],"sub_categories":["Framework-agnostic Plugins"],"readme":"\u003ca href=\"https://npmjs.com/package/@vituum/vite-plugin-latte\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@vituum/vite-plugin-latte.svg\" alt=\"npm package\"\u003e\u003c/a\u003e\n\u003ca href=\"https://nodejs.org/en/about/releases/\"\u003e\u003cimg src=\"https://img.shields.io/node/v/@vituum/vite-plugin-latte.svg\" alt=\"node compatility\"\u003e\u003c/a\u003e\n\n# ⚡️☕ ViteLatte\n\n```js\nimport latte from '@vituum/vite-plugin-latte'\n\nexport default {\n    plugins: [\n        latte()\n    ],\n    build: {\n        rollupOptions: {\n            input: ['index.latte.html']\n        }\n    }\n}\n```\n\n* Read the [docs](https://vituum.dev/plugins/latte.html) to learn more about the plugin options.\n* Use with [Vituum](https://vituum.dev) to get multi-page support.\n\n## Basic usage\n\n```html\n```html\n\u003c!-- index.latte with index.latte.json --\u003e\n{$title}\n```\nor\n```html\n\u003c!-- index.json  --\u003e\n{\n  \"template\": \"path/to/template.latte\",\n  \"title\": \"Hello world\"\n}\n```\n\n### Requirements\n\n- [Node.js LTS (20.x)](https://nodejs.org/en/download/)\n- [PHP (8.x)](https://www.php.net/) or [Docker PHP (8.x)](https://hub.docker.com/_/php)\n- [Vite](https://vitejs.dev/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvituum%2Fvite-plugin-latte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvituum%2Fvite-plugin-latte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvituum%2Fvite-plugin-latte/lists"}