SlideWire logo SlideWire Docs
Docs

Commands

SlideWire currently ships with a single scaffolding command for creating presentation files.

Commands

make:slidewire

Use make:slidewire to generate a new presentation scaffold.

php artisan make:slidewire team/q1-kickoff --title="Q1 Kickoff"

The generated file is written to the first configured presentation root and uses the package stub.

That stub is a Livewire single-file component with starter slides, so you can begin editing immediately.

Command signature:

make:slidewire
    {name? : The presentation path, e.g. team/q1-kickoff}
    {--presentation= : The presentation path override}
    {--title= : The first slide title}
    {--force : Overwrite existing files}

Arguments and options

  • name: optional presentation key such as team/q1-kickoff
  • --presentation=: explicit presentation key that overrides name
  • --title=: title used in the starter presentation
  • --force: overwrite an existing presentation file

Interactive mode

If you run the command without a presentation name, SlideWire prompts for:

  • the presentation path
  • the presentation title
php artisan make:slidewire

Overwrite existing files

If the destination file already exists, the command fails unless --force is supplied.

php artisan make:slidewire team/q1-kickoff --title="Q1 Kickoff" --force