{"id":24764107,"url":"https://github.com/stillat/laravel-volt-precompiler-example","last_synced_at":"2026-05-09T10:44:23.441Z","repository":{"id":192695676,"uuid":"687199852","full_name":"Stillat/laravel-volt-precompiler-example","owner":"Stillat","description":"Example repository containing an experimental Blade precompiler, which compiles custom component syntax to class-based Livewire Volt components.","archived":false,"fork":false,"pushed_at":"2023-09-04T21:47:08.000Z","size":68,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-28T21:39:14.410Z","etag":null,"topics":["laravel","livewire","volt"],"latest_commit_sha":null,"homepage":"https://stillat.com/blog/2023/09/04/implementing-a-custom-blade-precompiler-for-laravel-volt-and-livewire#content-wrapping-up","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/Stillat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"JohnathonKoster"}},"created_at":"2023-09-04T21:20:03.000Z","updated_at":"2023-09-12T09:59:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"a5f68083-189f-4bee-8997-45b39754987a","html_url":"https://github.com/Stillat/laravel-volt-precompiler-example","commit_stats":null,"previous_names":["stillat/laravel-volt-precompiler-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stillat%2Flaravel-volt-precompiler-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stillat%2Flaravel-volt-precompiler-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stillat%2Flaravel-volt-precompiler-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stillat%2Flaravel-volt-precompiler-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stillat","download_url":"https://codeload.github.com/Stillat/laravel-volt-precompiler-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245122356,"owners_count":20564290,"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":["laravel","livewire","volt"],"created_at":"2025-01-28T21:32:50.519Z","updated_at":"2026-05-09T10:44:18.402Z","avatar_url":"https://github.com/Stillat.png","language":"PHP","funding_links":["https://github.com/sponsors/JohnathonKoster"],"categories":[],"sub_categories":[],"readme":"This repository contains the example code developed in the following blog post:\n\n[Implementing a Custom Laravel Blade Precompiler for Volt and Livewire](https://stillat.com/blog/2023/09/04/implementing-a-custom-blade-precompiler-for-laravel-volt-and-livewire)\n\nIt provides an experimental Blade precompiler which compiles the following component syntax:\n\n```blade\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n    \u003chead\u003e\n        \n        @livewireStyles\n    \u003c/head\u003e\n    \u003cbody class=\"antialiased\"\u003e\n\n        \u003cv-volt\n                :count=\"10\"\n                @increment=\"fn() =\u003e $this-\u003ecount++\"\n        \u003e\n            \u003cbutton wire:click=\"increment\"\u003eIncrement\u003c/button\u003e\n\n            \u003cp\u003eCount: {{ $count }}\u003c/p\u003e\n        \u003c/v-volt\u003e\n\n        @livewireScripts\n    \u003c/body\u003e\n\u003c/html\u003e\n\n```\n\ninto Livewire Volt class-based components behind the scenes.\n\n## License\n\nThis example repository is free software, released under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstillat%2Flaravel-volt-precompiler-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstillat%2Flaravel-volt-precompiler-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstillat%2Flaravel-volt-precompiler-example/lists"}