diff --git a/stubs/cast.inbound.stub b/stubs/cast.inbound.stub new file mode 100644 index 0000000..c456e3c --- /dev/null +++ b/stubs/cast.inbound.stub @@ -0,0 +1,22 @@ + + */ +class {{ factory }}Factory extends Factory +{ + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + // + ]; + } +} diff --git a/stubs/job.queued.stub b/stubs/job.queued.stub new file mode 100644 index 0000000..4b78746 --- /dev/null +++ b/stubs/job.queued.stub @@ -0,0 +1,35 @@ +view('view.name'); + } +} diff --git a/stubs/markdown-mail.stub b/stubs/markdown-mail.stub new file mode 100644 index 0000000..e4c7cd4 --- /dev/null +++ b/stubs/markdown-mail.stub @@ -0,0 +1,33 @@ +markdown('{{ view }}'); + } +} diff --git a/stubs/markdown-notification.stub b/stubs/markdown-notification.stub new file mode 100644 index 0000000..5438f04 --- /dev/null +++ b/stubs/markdown-notification.stub @@ -0,0 +1,58 @@ +markdown('{{ view }}'); + } + + /** + * Get the array representation of the notification. + * + * @param mixed $notifiable + * @return array + */ + public function toArray($notifiable) + { + return [ + // + ]; + } +} diff --git a/stubs/middleware.stub b/stubs/middleware.stub new file mode 100644 index 0000000..855594c --- /dev/null +++ b/stubs/middleware.stub @@ -0,0 +1,21 @@ +id(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('{{ table }}'); + } +}; diff --git a/stubs/migration.stub b/stubs/migration.stub new file mode 100644 index 0000000..41dd1c8 --- /dev/null +++ b/stubs/migration.stub @@ -0,0 +1,28 @@ +line('The introduction to the notification.') + ->action('Notification Action', url('/')) + ->line('Thank you for using our application!'); + } + + /** + * Get the array representation of the notification. + * + * @param mixed $notifiable + * @return array + */ + public function toArray($notifiable) + { + return [ + // + ]; + } +} diff --git a/stubs/observer.plain.stub b/stubs/observer.plain.stub new file mode 100644 index 0000000..e2506b7 --- /dev/null +++ b/stubs/observer.plain.stub @@ -0,0 +1,8 @@ + + */ + public function rules() + { + return [ + // + ]; + } +} diff --git a/stubs/resource-collection.stub b/stubs/resource-collection.stub new file mode 100644 index 0000000..ddec961 --- /dev/null +++ b/stubs/resource-collection.stub @@ -0,0 +1,19 @@ +get('/'); + + $response->assertStatus(200); + } +} diff --git a/stubs/test.unit.stub b/stubs/test.unit.stub new file mode 100644 index 0000000..b6816aa --- /dev/null +++ b/stubs/test.unit.stub @@ -0,0 +1,18 @@ +assertTrue(true); + } +} diff --git a/stubs/view-component.stub b/stubs/view-component.stub new file mode 100644 index 0000000..eab8fd3 --- /dev/null +++ b/stubs/view-component.stub @@ -0,0 +1,28 @@ +