Skip to content

Commit 66af4cc

Browse files
committed
Compoer Update v1.0.3 Release
1 parent 9d083c4 commit 66af4cc

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ composer require codingwithrk/rk-project-setup
3636
>
3737
> That's it you it will take care rest of the installations.
3838
39+
> Once Installed just run below command for update.
40+
41+
```bash
42+
composer update
43+
```
44+
3945
## Credits
4046

4147
- [CodingwithRK](https://codingwithrk.com/)

src/ProjectSetupInstaller.php

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function handlePostInstall(PackageEvent $event)
4646

4747
// Install Livewire
4848
$io->write("<info>📦 Installing Livewire...</info>");
49-
shell_exec("composer require livewire/livewire");
49+
shell_exec("composer require livewire/livewire > /dev/null 2>&1");
5050
$io->write("<comment>✅ Livewire installed!</comment>");
5151

5252
// Publish Livewire config
@@ -61,7 +61,7 @@ public function handlePostInstall(PackageEvent $event)
6161

6262
// Install Flux
6363
$io->write("<info>📦 Installing Flux...</info>");
64-
shell_exec("composer require livewire/flux");
64+
shell_exec("composer require livewire/flux > /dev/null 2>&1");
6565
$io->write("<comment>✅ Flux installed!</comment>");
6666

6767
// Modify layout file
@@ -111,12 +111,8 @@ public function handlePostInstall(PackageEvent $event)
111111
);
112112
$io->write("<comment>✅ app.css updated!</comment>");
113113
}
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");
120116
$io->write("<info>🎉 Rk Project Setup completed successfully!</info>");
121117
}
122118

0 commit comments

Comments
 (0)