Quickstart Guide
This guide will walk you through creating your first local site with Envloom. We’ll create a new Laravel application and have it running at a local.test domain with SSL in just a few minutes.
Before starting, make sure you’ve installed Envloom and completed the first-launch bootstrap process.
Creating Your First Laravel Site
Let’s create a new Laravel site with Envloom’s site wizard.Open the Sites Page
In the Envloom application, click on Sites in the left sidebar to open the sites management page.
Launch the Site Wizard
Click the “Create Site” or “Add Site” button to open the site creation wizard.
Choose Site Type
In the wizard, select “Create new Laravel site”.Envloom will provision a complete Laravel application for you with all dependencies installed.
Configure Site Details
Fill in the site configuration:
- Site Name: Enter a name for your site (e.g.,
my-app) - Domain: This will auto-generate as
my-app.test - Path: Choose where to create the project (e.g.,
C:\Users\YourName\Projects\my-app) - PHP Version: Select the PHP version to use (default is the current version)
- Starter Kit: Optionally choose a Laravel starter kit:
- None (plain Laravel)
- React
- Vue
- Svelte
- Livewire
Start Provisioning
Click “Create Site” to begin the provisioning process.Envloom will:
- Download the Laravel starter kit or create a new Laravel project via Composer
- Create a
.envfile from.env.example - Run
composer installto install PHP dependencies - Generate an application key with
php artisan key:generate - Run initial migrations to set up the database
- Install Laravel Boost for optimization
- Run
npm installto install frontend dependencies - Run
npm run buildto compile assets - Run final migrations
The provisioning process may take 3-5 minutes depending on your internet speed and computer performance. Watch the progress in the wizard output panel.
Wait for Configuration
After provisioning completes, Envloom will:
- Generate an Nginx configuration file for your site
- Update your hosts file to point
my-app.testto127.0.0.1 - Reload Nginx to apply the new configuration
Enabling SSL
Let’s add HTTPS support to your new site.Navigate to Site Details
In the Envloom Sites page, find your newly created site in the list and click on it to view details.
Toggle SSL
Find the SSL toggle switch and turn it ON.Envloom will:
- Generate a local certificate authority (if it doesn’t exist)
- Create a SSL certificate for your domain
- Update the Nginx configuration to serve HTTPS
- Reload Nginx
Access via HTTPS
Open your browser and visit:Your browser will show a certificate warning because it’s a self-signed certificate.
Linking an Existing Project
Already have a Laravel project? You can link it to Envloom instead of creating a new one.Using the Desktop App
Configure the Site
Fill in:
- Site Name: A friendly name for your site
- Domain: The local domain (e.g.,
existing-app.test) - Path: Browse to your existing project directory
- PHP Version: Select the PHP version required by your project
Complete Linking
Click “Link Site”. Envloom will:
- Detect the project framework (Laravel, Symfony, WordPress, etc.)
- Create an Nginx configuration
- Add the domain to your hosts file
- Reload Nginx
Using the CLI
Navigate to your project directory in a terminal and run:- Detect your project framework
- Prompt for a domain name (defaults to folder name +
.test) - Create the site configuration
- Update hosts and reload Nginx
Switching PHP Versions
Different projects may require different PHP versions. Here’s how to switch:For a Specific Site
Change PHP Version
Find the PHP Version dropdown and select a different version (e.g., PHP 8.2, PHP 8.1, PHP 7.4).
If the version you need isn’t available, go to the PHP page first and install it using “Add version”.
Globally (All New Sites)
To change the default PHP version:- Go to the PHP page in Envloom
- Find the version you want to use
- Click “Set as Current”
- The global PHP version is now changed
Working with the CLI
Theloom CLI provides quick access to Envloom features from the command line.
Useful Commands
CLI Workflow Example
Here’s a typical workflow using the CLI:Managing Services
Start and Stop Services
You can control services from: Desktop App:- Use the Start all / Stop all buttons on the Dashboard
- Individual service controls on each runtime page
- Right-click the Envloom tray icon
- Select Start all or Stop all
- Go to Settings
- Enable Auto-start services to automatically start PHP-FPM, Nginx, and MariaDB when Envloom launches
Viewing Logs
If something isn’t working, check the logs:Select Log Source
Choose the log type to view:
- Runtime: Envloom internal operations
- PHP: PHP errors by version
- Nginx: Nginx access and error logs (global and per-site)
- MariaDB: Database errors and queries
Next Steps
Now that you have your first site running, explore more Envloom features:Runtime Management
Install multiple PHP, Node.js, MariaDB versions and switch between them
Sites Configuration
Learn advanced site configuration options and per-site settings
CLI Reference
Master the Envloom CLI for faster development workflows
Troubleshooting
Solutions to common issues and error messages
Pro Tip: Pin commonly used sites to your browser bookmarks, and use the system tray menu to quickly open them. Right-click the Envloom icon → Sites → Your Site Name.