We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 35c7501 + 12e6c70 commit 036847dCopy full SHA for 036847d
src/Commands/SetupCommand.php
@@ -5,6 +5,7 @@
5
use Illuminate\Console\Command;
6
use Illuminate\Filesystem\Filesystem;
7
use Larapack\Hooks\Composer;
8
+use Larapack\Hooks\Events\Setup;
9
10
class SetupCommand extends Command
11
{
@@ -44,5 +45,7 @@ public function handle()
44
45
$composer->save();
46
47
$this->info('Hooks are now ready to use! Go ahead and try to "php artisan hook:install test-hook"');
48
+
49
+ event(new Setup());
50
}
51
src/Events/Setup.php
@@ -0,0 +1,8 @@
1
+<?php
2
3
+namespace Larapack\Hooks\Events;
4
+class Setup
+{
+ //
+}
0 commit comments