Skip to content

Installation ​

Install Nimbus in a Laravel application and open it in the browser.

Requirements ​

  • PHP 8.2 or higher.
  • Laravel 10, 11, 12, or 13.
  • A web server that can handle two requests at the same time. See the note below.

Install ​

  1. Install the package with Composer.

    Terminal
    composer require sunchayn/nimbus --dev
  2. Publish the interface assets.

    Terminal
    php artisan vendor:publish --tag=nimbus-assets
  3. Optionally, publish the configuration file.

    Terminal
    php artisan vendor:publish --tag=nimbus-config

    The configuration is published to config/nimbus.php. You can skip this step if the defaults work for you.

Caution

If you install Nimbus as a regular dependency instead of a dev dependency, keep it out of production with allowed_envs.

Open Nimbus ​

Start your application and open this address in the browser.

http://your-app.test/nimbus

The nimbus part is the prefix option. You can change it in the configuration.

Single-threaded servers

php artisan serve and Laravel Sail serve one request at a time, so Nimbus cannot relay requests to your own app. Use Herd, Nginx, Apache, or follow the single-threaded servers guide.

Where Nimbus is enabled ​

Nimbus only registers its routes in the environments listed in allowed_envs. The default is local. If you open the page in another environment, you get a 404.

See Options before you add an environment to the list.

Check the setup ​

Run the doctor command to find setup problems.

Terminal
php artisan nimbus:doctor

See Artisan commands for what it checks.