What are the best practices for updating packages using Composer without manually editing the .json file?
When updating packages using Composer, it is best practice to use the `composer update` command instead of manually editing the `composer.json` file. This ensures that Composer manages the dependencies and versions correctly. To update packages without manually editing the `composer.json` file, you can run the command `composer update` in your project directory.
// Update packages using Composer
exec('composer update');