Veldora
Official VS Code Extension · v0.6.0

First-Class Tooling for
.veldora.php Templates

Syntax highlighting, 32 intelligent snippets, directive bracket matching, and seamless PHP IntelliSense inside your template files.

Terminal · Install Extension
code --install-extension veldora.veldora-vscode

Built for developer happiness

Writing Veldora templates feels as natural and fast as writing Blade or JSX.

Syntax Highlighting

Full TextMate grammar highlighting for template tags, directives, and embedded PHP blocks with theme-adaptive colors.

@directives {{ $variable }} {!! $raw !!}

55+ Fast Snippets

Type snippet prefixes and press Tab to instantly expand complete template structures and boilerplate.

v-if v-foreach v-extends v-comp

Directive Bracket Matching

Pairs opening and closing directives with smart code folding and bracket colorization.

@if / @endif @section / @endsection @auth / @endauth

PHP IntelliSense

Variables, classes, methods, and global helper functions enjoy complete autocompletion inside template tags.

auth() csrf_token() route() config()

All 32 Snippet Triggers

Type any prefix in a .veldora.php file and press Tab.

Prefix Expanded Template Code Description
v-if @if ($condition) ... @endif If conditional block
v-ifelse @if ($cond) ... @else ... @endif If-Else conditional
v-foreach @foreach ($items as $item) ... @endforeach Foreach loop block
v-forelse @forelse ($items as $item) ... @empty ... @endforelse Foreach with fallback
v-extends @extends('layouts.app') Extend master layout
v-section @section('content') ... @endsection Define content section
v-yield @yield('title', 'Default') Yield placeholder
v-auth @auth ... @endauth Show only for authenticated users
v-guest @guest ... @endguest Show only for guests
v-comp <x-button variant="primary">...</x-button> Veldora UI component
v-csrf <input type="hidden" name="_token" value="{{ csrf_token() }}"> CSRF hidden token input
v-method <input type="hidden" name="_method" value="PUT"> HTTP method spoofing
v-esc {{ $variable }} Escaped variable echo
v-raw {!! $html !!} Unescaped raw output
v-dump @dump($variable) Debug dump variable