Local setup
This page sets up a local copy of Nimbus. You need it to run the workbench, the tests and the UI in development.
Prerequisites
- PHP 8.2 or newer with the
curl,mbstring,pcntl,intl,fileinfoandsodiumextensions. - Composer.
- Node.js and npm. CI uses Node 24.
- Git.
Install
Fork the repository on GitHub, then clone your fork. Replace your-username with your GitHub username.
git clone https://github.com/your-username/nimbus.git
cd nimbus
composer install
npm installThe composer install command also runs npx agenteq sync, which writes the agent files described in working with AI agents. The first sync asks where to clone the shared AI guidelines.
Build the workbench
The workbench/ folder is a Laravel app powered by Orchestra Testbench. It loads the package with demo routes, an OpenAPI file and seeders, so you do not need a host application.
composer buildThis creates the SQLite file and runs the Testbench build.
Run everything
composer devThe command runs the workbench servers and the Vite dev server in one terminal. Press Ctrl+C to stop all of them.
To run only the servers, use composer serve. It builds the workbench first.
| Server | URL | Role |
|---|---|---|
| App | http://127.0.0.1:8000 | Serves the workbench and Nimbus. |
| Relay | http://127.0.0.1:8001 | Receives the requests Nimbus relays. |
The PHP built-in server handles one request at a time. The relay endpoint calls back into the app, so one server would wait for itself. The second server avoids this. workbench/.env.example sets NIMBUS_RELAY_ENDPOINT to the relay URL.
Open the demo UI at http://127.0.0.1:8000/demo.
Run a package command
The nimbus script forwards arguments to Testbench.
composer nimbus nimbus:doctorSwitch the Laravel version
composer switch:l10
composer switch:l11
composer switch:l12
composer switch:l13Each script updates Testbench and the related packages to that Laravel major. Run composer test:parallel afterward. Do not commit an accidental composer.lock change. See PHP and Laravel support.