Skip to content
Vroni

DocsUse cases

Framework and version upgrades

Use Vroni to handle Laravel, PHP, Node, and other upgrades. It reads the upgrade guide, fixes what breaks, and runs your tests.

Upgrading moves your project to a newer framework or language version, like Laravel 11 to 12 or Node 20 to 22. Usually, someone has to go through the upgrade guide, bump the versions, and fix any code the new version rejects. Vroni takes care of that work and opens a pull request with the changes.

Here is how to write an upgrade task, what Vroni can test on its own, and how to break up larger upgrades.

Write the upgrade task

Tell Vroni which version you are moving from, which one you are moving to, and which checks you run before a release.

Upgrade the app from Laravel 11 to Laravel 12. Follow the official upgrade guide and update the packages that need it. Run the test suite before and after and say in the pull request which commands you ran. Don’t change how the app behaves.

Upgrade the project to PHP 8.4. Fix the deprecations that show up when the tests run. Update the PHP version in composer.json. If the GitHub Actions workflow needs a new PHP version, describe that change in the pull request instead of editing the workflow file.

If you want to leave something out of the pull request, such as a package you plan to replace anyway, mention it in the task. You can start the task in New task.

What Vroni can run

Vroni’s environment includes PHP 8.4, Node 20, and Node 22, among other runtimes, so it can test upgrades to those versions directly. If your project can’t run on PHP 8.4 yet, Vroni will still update the code and let your CI run the tests. Test suites that need a database server or Docker also run on your side. You can check the full list of versions and limits in What Vroni can work on.

GitHub doesn’t allow the Vroni app to edit files in .github/workflows/. That’s why the PHP example above asks Vroni to describe the workflow change instead of making it.

Big upgrades in steps

Some upgrades are too large for a single pull request, like jumping several major versions or moving a big app from Vue 2 to Vue 3. Break them down the same way you would for a developer, tackling one major version or one part of the app at a time. Merge each step before starting the next task, since every new task branches off your main branch.

Check the pull request

The pull request description lists the version changes, the code Vroni updated, and anything left for you to handle. Review the commands Vroni ran, and let your own CI run on the branch.

An upgrade is only as safe as your test coverage. If the affected areas have few tests, run a test task first.

Keep in mind that Vroni only updates your code. If your production servers need a newer PHP or Node version, update them before you deploy.

Last updated November 25, 2026. Something missing or unclear? Write to [email protected].

Try Vroni on your own repository

Vroni is in early access, and new accounts are approved by hand.

Get early access