Getting Started• 3 min read
Site Management & Project Scaffolding
Link existing folders, configure custom webroots, isolate PHP versions, and scaffold new Laravel, WordPress, or Slim apps.
Adding and Linking Sites
Stratos automatically scans your configured webroot directory (default: ~/Sites). Any subfolder automatically maps to a local .test domain:
~/Sites/storefront -> https://storefront.test
~/Sites/api-backend -> https://api-backend.test
Linking External Directories
If your projects live in another folder (e.g. ~/Projects or ~/Documents/Code):
- Open the main Stratos window and navigate to the Sites tab.
- Click + Link Folder in the top-right toolbar.
- Choose the project folder in the macOS file dialog.
- Stratos provisions the Nginx VHost and creates a seamless domain binding immediately.
Per-Site Configuration
Click on any site in the list to configure its specific runtime environment:
- PHP Version Pinning: Choose between PHP 8.1, 8.2, 8.3, 8.4, or 8.5. Each version runs on an isolated Unix socket.
- HTTPS Toggle: Enable or disable SSL certificate generation per site.
- Node.js Version: Assign project-specific Node.js versions (e.g. Node 18 LTS vs Node 20/22).
- Public Directory Override: Set custom webroot public paths (e.g.
/publicfor Laravel/Symfony or root/for WordPress).
1-Click Project Scaffolding
Want to start a new project from scratch? Click + New Project in the Sites tab:
- Laravel: Scaffolds a complete Laravel application using
composer create-project laravel/laravelwith pre-configured.envand SQLite database. - WordPress: Downloads the latest WordPress release with automated salts generation.
- Slim PHP: Minimalist REST API starter boilerplate.