Expand description
The console commands the package registers, starting with make:livewire.
The generator writes Rust, not PHP: a component is a module whose struct derives
LivewireComponent and whose implementation carries #[livewire::component]. The view is either
inline in the module or a sibling .livewire template.
Structs§
- Configure
S3Upload Cleanup - Reports whether the temporary upload disk needs a bucket lifecycle, which only an S3 disk has.
- Convert
- Moves a component between its single-file and module-and-view forms.
- Convert
Plan - What
livewire:convertchanges. - Layout
- Writes a layout a page component can render inside.
- Livewire
Config Command - Prints the Livewire configuration the application resolved.
- Livewire
Make - Creates a component, called by the
livewire:makealias. - Make
Livewire - Creates a component module, and the view it renders.
- Options
- What the generator should write.
- Planned
- One file the generator writes.
- Publish
- Publishes the runtime, so the application serves it from
public/. - Stubs
- Writes the stubs
make:livewirecopies, so an application can change them.
Functions§
- plan
- The files
nameneeds, and their contents. - plan_
convert - The conversion
nameneeds, in whichever direction it is written today. - plan_
layout - The files
livewire:layoutwrites. - plan_
publish - The files
livewire:publishwrites: the runtime, from the copy embedded in this crate. - plan_
stubs - The stubs
livewire:stubswrites, whichmake:livewirethen copies. - write
- Writes the planned files, refusing to replace one that exists unless
forceis set.