prev | next |
---|
Workbench provides a set of configurable actions and commands to allow previewing, interacting, and serving your Laravel packages during development.
This component is accessible via orchestra/testbench
without any further requirements.
You can install Workbench using the following command:
composer require --dev "orchestra/testbench"
Next, you can run the following command to scaffold your package with the recommended setup:
vendor/bin/testbench workbench:install
Laravel | Workbench |
---|---|
9.x | 7.x |
10.x | 8.x |
11.x | 9.x |
Please refer to Configuration documentation for further details.
Workbench provides helpers on top of Testbench to allow package developers to interacts and preview Laravel packages without having the need to require it in a Laravel application.
Similar to composer run dev
available in latest Laravel application, you can preview the configured package using the following command:
composer run serve