Combine and simplify multiple commands using Composer Scripts

1 · Amit Merchant · Oct. 22, 2024, 8:36 a.m.
I was watching this video by Nuno Maduro the other day where he was explaining how they are using Composer Scripts to simplify the process of running multiple commands in their flagship product, Laravel Cloud. Essentially, when your project is big, it relies upon a lot of smaller packages to work together. For instance, your project might rely upon different packages to test both the front-end and back-end of your application. Let’s say PHPUnit/Pest and Jest respectively. Running these commands ...