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

Blade Capture Directive Laravel Package

ryangjchandler/blade-capture-directive

Adds a handy @capture Blade directive to grab the rendered output of a section of a view into a variable, so you can reuse it later in the template. Useful for building dynamic attributes, slots, and content fragments without messy output buffering.

View on GitHub
Deep Wiki
Context7
Requirements
Package
Constraint
illuminate/contracts ^10.0|^11.0|^12.0|^13.0
spatie/laravel-package-tools ^1.9.2
Dev Requirements
Package
Constraint
nunomaduro/collision ^7.0|^8.0
nunomaduro/larastan ^2.0|^3.0
orchestra/testbench ^8.0|^9.0|^10.0|^11.0
pestphp/pest ^2.0|^3.7|^4.1
pestphp/pest-plugin-laravel ^2.0|^3.1|^v4.1.0
phpstan/extension-installer ^1.1
phpstan/phpstan-deprecation-rules ^1.0|^2.0
phpstan/phpstan-phpunit ^1.0|^2.0
phpunit/phpunit ^10.0|^11.5.3|^12.0
spatie/laravel-ray ^1.26
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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings