Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.2 KB

workbench.md

File metadata and controls

48 lines (31 loc) · 1.2 KB
prev next

Introduction

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.

Installing

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

Version Compatibility

Laravel Workbench
9.x 7.x
10.x 8.x
11.x 9.x

Configuration

Please refer to Configuration documentation for further details.

Getting Started

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.

serve Command

Similar to composer run dev available in latest Laravel application, you can preview the configured package using the following command:

composer run serve