Skip to content
Marcin Halak (Versoo) edited this page Apr 10, 2018 · 2 revisions

Command: larapi:event

Command to create Event in resource directory.

php artisan larapi:event {Resource} {Name}

Arguments:

  • Resource - Name of resource
  • Name - Name of Event class

Options:

  • --model=MODEL - Name of custom model for event. Default value is name of resource
  • --force - Force to create request, overwrite if exists
Clone this wiki locally