Node.js, Composer & tools
Burrow also manages the tools around PHP, so a fresh machine needs nothing else to build a Laravel app.
Node.js#
Open Node.js in the app to see the LTS lines and the newest release. Install one with a click, or:
burrow node list # installed versions
burrow node available
burrow node install # newest LTS
burrow node install 24
Set a default on the same page. A project's .nvmrc or .node-version file overrides it in that project. When a newer release of an installed major is out, the page offers Update to ….
Composer and the Laravel installer#
On the Settings page, install or update Composer and the Laravel installer with one click. Or:
burrow tool composer && burrow tool laravel
Terminal commands#
After setup, these commands in a new terminal use Burrow's versions:
php · composer · laravel · node · npm · npx
They pick the right version for the folder you're in: the site's PHP, a .php-version or .nvmrc file, otherwise your defaults. If they're missing, run burrow shims once.
If another tool owns your PATH (for example while you try Burrow next to yerd), use Burrow's tools in one terminal with:
eval "$(burrow env)"