Get started with PortCradle

Install the app

  1. Use an Apple Silicon Mac. The app bundle requires macOS 14 or later. Check Homebrew’s supported macOS versions for package management.
  2. Open the ZIP provided for your release or test and drag PortCradle.app to Applications. Open it and check the version at the bottom of the sidebar. If you have Local Development installed, follow Upgrade PortCradle.
  3. Install native Homebrew if needed. Package installation and targeted upgrades require Apple’s Command Line Tools or Xcode. If PortCradle reports missing tools, run xcode-select --install in Terminal and follow the macOS prompts.
  4. In PortCradle, open Settings → Homebrew to see the detected prefix and any notices. Click Refresh in the lower bar to rediscover the environment after setup. Intel/Rosetta Homebrew and discovered external installations appear as inventory.

Homebrew keeps the tools in its normal directories, where editors and command-line tools can use them. PortCradle stores its preferences, site registrations, configuration backups, and journal in ~/Library/Application Support/Local Development/. That directory name preserves compatibility with the earlier app.

PortCradle starting up, with a Discovering your workspace panel listing what it checks: Homebrew locations and packages, other local tools, service registrations and listeners, the package catalog, available updates, registered site frameworks and project runtime environments.
When it opens, PortCradle checks Homebrew, your other local tools and your registered sites. This can take a few seconds.
Settings: the Appearance switch, the Workspace data folder, Native Homebrew detected at /opt/homebrew, Terminal Commands for PHP and MySQL, and the port 80 and 443 forwarding helpers.
Settings → Homebrew shows the Homebrew prefix PortCradle detected.

Set up your stack

  1. Choose Overview → Initial Environment Setup. Nginx and PHP are selected by default. Select the PHP version that fits your project. For a fresh Nginx install, the default listener is 127.0.0.1:8080. You can choose another loopback port before previewing.
  2. Add a database server if your project needs one. Homebrew’s MySQL, MariaDB, and Percona Server can share paths, so choose one of those three. PostgreSQL is also available. If you intend to run both Nginx and Apache, give them different listeners.
  3. Click Preview Setup. Review the planned package and dependency changes. Installed selections appear under Already installed when present. Setup skips selected formulae that are already installed and keeps an existing Nginx configuration.
  4. Click Install Selected Packages. When setup finishes, choose Open Services. Installing a package and starting its service are separate actions.

To add one tool later, click Install Tool and use the Web Servers, PHP, Databases, or Developer Tools tab. Select an available version or formula, click Preview Package Changes when offered, then confirm Install for that formula. Homebrew can change dependencies and initialize fresh database directories. PortCradle checks database paths before installing a server and reports conflicts where it detects them.

The Initial Environment Setup sheet with Nginx and PHP 8.6 checked, Apache unchecked, and MySQL, PostgreSQL, MariaDB and Percona Server listed with their versions.
Overview → Initial Environment Setup: check the web server, PHP version and database you want.
The setup preview for PostgreSQL 19: Homebrew would install one formula and upgrade three dependencies, Nginx and PHP are listed as already installed, and an Install Selected Packages button.
Preview Setup lists what Homebrew will install or upgrade before anything changes.
The Install Tool sheet with php@8.4 selected under PHP, showing its formula, its /opt/homebrew prefix and that it is already installed.
Install Tool adds one formula later. Select it to see its version and whether it is installed.

Start and inspect services

  • In Services, choose Web Servers, PHP-FPM, or Databases. Select Nginx, the PHP-FPM version your project uses, or MySQL to see the available controls and status. Use Start Now, Stop Now, and Restart for the selected managed service. Confirm the action in the review sheet.
  • Start at Login starts the service and registers it for your macOS account. Disable Start at Login removes the login registration. Stop Now preserves the login policy when one is set. launchd manages these services after the window closes or you quit PortCradle.
  • Click the PortCradle icon in the macOS menu bar to check service status and version. The panel refreshes when it opens. Use Refresh to check again or Open Services to manage a service. The icon remains available while the app is running with its main window closed.
  • If Nginx reports an existing non-loopback or ambiguous listener, open the installation’s Config inspector and review its active configuration and includes. A loopback binding such as listen 127.0.0.1:8080; limits access to this Mac. Approve the existing bindings only if they match how you intend the server to listen.
  • Ready reports service-level readiness. Use Verify Site to check a named site. MySQL readiness uses a server ping. Verify credentials and queries in the project or a database client.
  • The Logs tab shows operation progress and errors. The inspector’s Logs tab shows access to reported native logs.

Native Homebrew Nginx, PHP-FPM, and MySQL have service controls for supported user registrations. PostgreSQL can start on demand from the site’s Create & Link form. Apache, MariaDB, and Percona Server are package and inventory integrations. Use Homebrew’s service controls for those servers. System-level registrations are read-only in PortCradle.

The Services screen: MySQL, Nginx and PHP-FPM 8.4 ready and PHP-FPM 8.6 stopped, each with its listener and Start or Stop buttons, and the MySQL inspector with Stop Now, Restart and Start at Login.
Services lists each managed service with its listener, status and controls.
Services with Nginx selected and the inspector on its Config tab, showing the nginx.conf path and the Homebrew service registration.
Select Nginx and open the inspector’s Config tab to find its active configuration.
The PortCradle Logs screen listing recent app activity with times, such as previewing the environment setup.
Logs shows what PortCradle did and any errors.

Runtimes and preferences

Select an installation in Runtimes to inspect its executable, configuration, and discovered environments. Python and Perl are shown as interpreters. PortCradle follows your Terminal PATH by default. Under Settings → Terminal Commands, use Choose PHP Version or Choose MySQL Version to select a native Homebrew version and review the PATH change for new Terminal sessions. Check Terminal Commands shows which executable your login shell resolves. Use Use Terminal PATH in the same menu to clear a PortCradle override. For an editor that needs a specific PHP executable, copy its stable path from the inspector. Each site uses the PHP-FPM runtime selected at registration.

Choose Settings → Appearance to use System, Light, or Dark.

The Runtimes screen listing PHP 8.6 and 8.4, Composer, Perl, Python and MySQL, with the PHP-FPM 8.4 inspector showing its executables, listener and a Choose for Terminal button.
Runtimes shows each installation’s executables. Choose for Terminal sets the version your Terminal uses.
Settings → Terminal Commands after a shell check, showing that PHP and MySQL resolve to /opt/homebrew/bin, with Check Terminal Commands and Shell Check Details.
Settings → Terminal Commands: Check Terminal Commands shows which PHP and MySQL a new Terminal window finds.

Next, create or register a site.