Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Agents
daun/statamic-latte
claude-code
cursor
statamic-addon
latte
templating
antlers
caching
pest
phpstan

Statamic 6 addon that integrates the Latte templating engine — adds .latte template support with custom tags, modifiers, caching, and layout resolution, plus Antlers fallback rendering.

Install
php artisan boost:add-skill daun/statamic-latte

Save this content to: AGENTS.md

# AGENTS.md

Statamic 6 addon that integrates the **Latte** templating engine — adds `.latte` template support with custom tags, modifiers, caching, and layout resolution, plus Antlers fallback rendering.

## Stack

PHP 8.3+ · Laravel 13 · Statamic 6 · Latte via `miko/laravel-latte` 3.0 · Pest 4 · Pint 1.14 · PHPStan 3 (level 5). Tests use Orchestra Testbench.

## Commands

```bash
composer test                    # Pest
composer lint                    # Pint check (no changes)
composer format                  # Pint fix
composer analyse                 # PHPStan, --memory-limit=2G
```

## Test commands

```bash
composer test                                             # Run all tests
./vendor/bin/pest tests/Feature/ServiceProviderTest.php   # Run single file
./vendor/bin/pest --filter="name"                         # Run single test
```

## Architecture

- Namespace `Daun\StatamicLatte`, PSR-4
- Entry point `src/ServiceProvider.php` registers the Latte engine
- Latte extensions live in `src/Latte/Extensions/` (tags, modifiers, caching, layout resolution, Antlers inline rendering)
- Tests split across `tests/Feature/` and `tests/Unit/`

## Gotchas

- Nested `nocache` inside `nocache` not supported (raw-text capture ends at the first closing tag)
- PHPStan runs at level 5 with no generic type checking (performance)

## Rules

- Prefix all local variables in processed PHP with `$ʟ_` as Latte itself does

AGENTS.md

Statamic 6 addon that integrates the Latte templating engine — adds .latte template support with custom tags, modifiers, caching, and layout resolution, plus Antlers fallback rendering.

Stack

PHP 8.3+ · Laravel 13 · Statamic 6 · Latte via miko/laravel-latte 3.0 · Pest 4 · Pint 1.14 · PHPStan 3 (level 5). Tests use Orchestra Testbench.

Commands

composer test                    # Pest
composer lint                    # Pint check (no changes)
composer format                  # Pint fix
composer analyse                 # PHPStan, --memory-limit=2G

Test commands

composer test                                             # Run all tests
./vendor/bin/pest tests/Feature/ServiceProviderTest.php   # Run single file
./vendor/bin/pest --filter="name"                         # Run single test

Architecture

  • Namespace Daun\StatamicLatte, PSR-4
  • Entry point src/ServiceProvider.php registers the Latte engine
  • Latte extensions live in src/Latte/Extensions/ (tags, modifiers, caching, layout resolution, Antlers inline rendering)
  • Tests split across tests/Feature/ and tests/Unit/

Gotchas

  • Nested nocache inside nocache not supported (raw-text capture ends at the first closing tag)
  • PHPStan runs at level 5 with no generic type checking (performance)

Rules

  • Prefix all local variables in processed PHP with $ʟ_ as Latte itself does
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core