File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,12 @@ composer require codingwithrk/rk-project-setup
36
36
>
37
37
> That's it you it will take care rest of the installations.
38
38
39
+ > Once Installed just run below command for update.
40
+
41
+ ``` bash
42
+ composer update
43
+ ```
44
+
39
45
## Credits
40
46
41
47
- [ CodingwithRK] ( https://codingwithrk.com/ )
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public function handlePostInstall(PackageEvent $event)
46
46
47
47
// Install Livewire
48
48
$ io ->write ("<info>📦 Installing Livewire...</info> " );
49
- shell_exec ("composer require livewire/livewire " );
49
+ shell_exec ("composer require livewire/livewire > /dev/null 2>&1 " );
50
50
$ io ->write ("<comment>✅ Livewire installed!</comment> " );
51
51
52
52
// Publish Livewire config
@@ -61,7 +61,7 @@ public function handlePostInstall(PackageEvent $event)
61
61
62
62
// Install Flux
63
63
$ io ->write ("<info>📦 Installing Flux...</info> " );
64
- shell_exec ("composer require livewire/flux " );
64
+ shell_exec ("composer require livewire/flux > /dev/null 2>&1 " );
65
65
$ io ->write ("<comment>✅ Flux installed!</comment> " );
66
66
67
67
// Modify layout file
@@ -111,12 +111,8 @@ public function handlePostInstall(PackageEvent $event)
111
111
);
112
112
$ io ->write ("<comment>✅ app.css updated!</comment> " );
113
113
}
114
-
115
- // Composer update
116
- $ io ->write ("<info>🎼 Final update composer...</info> " );
117
- shell_exec ("composer update " );
118
- $ io ->write ("<comment>✅ Composer updated!</comment> " );
119
-
114
+
115
+ $ io ->write ("<info>💡 Run this manually:</info> composer update " );
120
116
$ io ->write ("<info>🎉 Rk Project Setup completed successfully!</info> " );
121
117
}
122
118
You can’t perform that action at this time.
0 commit comments