{"slug": "nexus-an-open-source-app-for-local-development-replacing-paid-saas-like-herd", "title": "Nexus, an open source app for local development replacing paid SaaS like Herd", "summary": "NexusLocal released Nexus, a free MIT-licensed macOS app that replaces paid local development tools such as Laravel Herd by bundling PHP, Node, nginx, Apache, MySQL, MariaDB, PostgreSQL, MongoDB, Redis, DNS and mail with HTTPS `.test` domains for every site. Nexus gives each git branch its own workspace with a separate database server, domain, Redis indexes and queue workers, and exposes an MCP server so Claude Code and Codex agents can read site errors, dumps and mail under user-controlled permissions. Idle workspaces stop after 1 hour by default, and Nexus keeps a dump of a removed workspace's databases in the trash for 7 days.", "body_md": "**Your local websites on the Mac. PHP, Node, WordPress and databases in one app.**\n\n  Free and open source. No paywall, ever.\n\n[**Download Nexus**](https://github.com/NexusLocal/nexus/releases/latest/download/Nexus.dmg)\n  ·\n  [What is new](https://github.com/NexusLocal/nexus/releases)\n  ·\n  [Install](#install)\n  ·\n  [Move to Nexus](#-move-to-nexus-in-one-click)\n  ·\n  [Feedback](#feedback)\n\n<sub>Mac with Apple silicon · macOS 27 or later · MIT license</sub>\n\n- 🔒 **HTTPS for every site.** Each site gets a`.test` domain with a trusted certificate.\n- ⚡ **Every service in one click.** PHP, Node, nginx, Apache, MySQL, MariaDB, PostgreSQL, MongoDB,\nRedis, DNS and mail. Choose the versions that you need.\n- 🌳 **A workspace for each branch.** Each branch gets its own database server, domain, Redis indexes\nand workers. It starts with a copy of your data, an empty database or your own dump file. So\nseveral Claude Code sessions can work at the same time. A workspace that nobody uses stops by\nitself.\n- 🤖 **Made for coding agents.** Claude Code and Codex use Nexus through its MCP server. They read\nthe errors, the dumps and the mail of your sites. You decide what an agent can do.\n- 🐞 **See what your code does.** Each`dump()` , query, log line and queue job of a request in one\nplace. Xdebug runs only when you debug.\n- 📜 **The logs of your apps.**`laravel.log` , the`debug.log` of WordPress and the PHP errors of each\nsite, live, with a filter by level and a search over all files.\n- 🔗 **Share a site with one click.** Send a client or your phone a public link to a local site. With\na password, hidden errors and the requests of each webhook.\n- 🧱 **WordPress, done right.** Bedrock, multisite on subdomains and WP-CLI. Change the URLs in one\nclick. Changed your mind? Undo it.\n- 🚚 **Move to Nexus in one click.** From Laravel Herd or Laravel Valet. Your sites, databases,\nRedis keys and PHP settings move, and the old app stays as it is.\n- 📥 **Import a WordPress backup.** From Local, Studio, Jetpack or All-in-One WP Migration.\n- ✨ **A new site in one click.** Laravel, WordPress, Next.js, Nuxt, Vite or Astro.\n- 📬 **A mail inbox for every site.** Built on Mailpit. No test mail ever reaches a real customer.\n- 💜 **Free and open source.** MIT license. No subscription and no paywall, ever.\n\nIn the folder of a site, make a workspace for a branch:\n\n```\nnexus workspace create ticket-1\nnexus workspace wait ticket-1\n```\n\nNexus makes the git worktree and the workspace. The last command prints the URL, for example\n`https://shop-ticket-1.test`. \"New workspace…\" on the Site screen does the same. A worktree that you\nor an agent make with `git worktree add` gets a workspace too.\n\nEach workspace gets:\n\n- **Database:** a server of its own on a copy of your data. You can also start with an empty\ndatabase. Then your migrations and seeders run from zero. Or each workspace loads your own dump\nfile, for example a scrubbed copy of production. With these two choices an agent never sees\ncustomer data.\n- **Domain:** a`.test` domain of its own with HTTPS.\n- **Redis:** indexes of its own.\n- **Programs:** its own queue worker, scheduler, Reverb server and Vite server, when the application\nuses them.\n\nA new worktree is ready within seconds, also with a large database. When you remove the worktree, Nexus removes the workspace. By default it keeps a dump of its databases in the trash for 7 days.\n\n- **Idle workspaces stop.** A workspace without activity stops after 1 hour. The next page, command\nor database connection starts it again. Settings > Workspaces sets the time.\n- **Dev servers on demand.** Vite and the app of a Node.js site start with the first page. They stop\nwhen no page needs them.\n- **Old workspaces go.** The Site screen names the workspaces without activity for some days.\nReview… shows what git knows about each one, for example merged or not pushed. You choose which\nones go. Nexus never removes a workspace by itself.\n\n## **How a workspace works**\n\nIn a Laravel application:\n\n- **Database:** the server runs on a clone of the data folder. Your database names stay the same.\nOnly the connection keys in`.env` change. Nexus then asks the application which server it reaches.\n- **Files:** Nexus clones`vendor` ,`node_modules` , the build output and`storage/app` . The clones use\nalmost no disk until a file changes.\n- **Migrations:**`php artisan migrate --force` runs after the clone. You can change this list on the\nSite screen.\n\nA WordPress site gets its own database and its own domain in WordPress. Its plugins and WP-Cron write only into that copy. A Node.js app gets its own database too.\n\nA MongoDB connection gets the same URL with the port of the workspace, for example in `MONGODB_URI`.\nA URL of MongoDB Atlas (`mongodb+srv`) stays as it is. So that workspace shares the Atlas database\nwith the main site, and Nexus tells you so.\n\nEach workspace server uses about 200 MB of memory.\n\nFor the clone, Nexus freezes MySQL, MariaDB and MongoDB for about a second. A writer waits and then continues. PostgreSQL needs no freeze. When the freeze fails, the workspace shows Not isolated with the reason. Retry tries again. A workspace that is not isolated runs no programs and no commands.\n\nA database name stays the same in a workspace. So a command that connects itself must use\n`{port:database}`, the port of the database server of the workspace.\n\nTo get a dump back, run `nexus db dumps` and `nexus db restore`.\n\nA site can add its own keys to the `.env` of each workspace:\n\n```\nnexus site edit shop.test --workspace-key SCOUT_PORT={port:scout}\n```\n\nNexus has an MCP server for Claude Code, Codex and other coding agents. The Agents screen under Tools turns it on for each agent that Nexus finds. An agent then works with your sites as you do:\n\n- **Errors first.** When a page fails, the agent reads the newest errors of the site.\n- **Mail from start to end.** The agent fills in a sign-up form, waits for the mail and opens the link\nin it. No mail leaves your Mac.\n- **Workspaces.** In a git worktree the agent uses the URL and the database of that workspace.\n- **Dumps.** The agent reads the dumps, the queries and the log lines of a request.\n- **Logs.** The agent reads the log files of the app of a site, for example only the errors.\n- **You decide.** An agent can only look, look and set up, or also remove. No agent can delete a\ndatabase or your files.\n- **Safe tests.** When the tests of a Laravel site use your development database, Nexus warns you\nand the agent. \"Choose test database…\" on the Site screen makes a separate one.\n\nThe Dumps screen under Tools shows each `dump()` and `dd()` of your PHP sites. With each request it\nshows the queries, the log lines and the queue jobs. Nexus marks a slow query, a duplicate query and\nan N+1 query. A click on a file opens your code editor at that line.\n\n- **Off by default.** Turn on the Catch switches on the Dumps screen. Until then PHP runs your sites\nwithout the dump viewer.\n- **API answers stay valid.** A page in your browser shows each dump. An API answer or an update of\nLivewire, Inertia, htmx or Turbo stays clean.\n- **In the terminal and the browser.**`nexus dumps --follow` shows each new dump.`nexus dumps open` opens a web page with the same list.\n- **Xdebug only when you debug.** Only a request that starts a debug session uses Xdebug. So your\nnormal pages stay fast.`nexus debug artisan my:command` runs one command with Xdebug.\n\nThe Logs screen under Tools shows the log files of the app of each site and workspace: `storage/logs`\nof Laravel, the `debug.log` of WordPress, the PHP errors with their time, the output of a Node.js\napp and the requests. A new entry shows at once. \"Show logs\" in the menu of a site opens it.\n\n- **Easy to read.** Each level has its color, each day has its line, and each time is the time of\nyour Mac. An exception shows the line of your app first. The frames in`vendor/` fold into one row.\n- **Find it.** Filter by level, search all files at once, or find all entries with the same`trace_id` . Equal entries show as one row with a count. The entries of your test runs stay hidden\nuntil you want them.\n- **Large logs too.** A log of 281 MB opens in a moment.\n- **In the terminal, the browser and your agent.**`nexus logs --level error --follow` shows each\nnew error. The web page of the dumps has a Logs page. Agents read the logs through the MCP server.\n\nClick Share on the Site screen, or run `nexus share` in the folder of a site. Nexus opens a public\nlink through Cloudflare. You need no account. Send the address to a client, a colleague or your\nphone.\n\n- **Visitors see only the site.** Error details and tools such as Telescope stay hidden. A password\nkeeps other people out. Webhooks still reach the site.\n- **The site works through the link.** Laravel sees the public address. Nexus changes the addresses\nin the pages of WordPress and other sites. Vite keeps hot reload on for you.\n- **Check a webhook.** The dump viewer can keep each request of a link with its headers, its body\nand its dumps.\n- **Your own domain.** With a domain at Cloudflare a link keeps a fixed address, for example`shop.example.com` .\n\n- Nexus finds WordPress and Bedrock sites. It gives them the right web rules on nginx and Apache.\n- The Site screen shows the version, the database and the configuration. It sets up `wp-config.php` or a database for you.\n- Multisite works, also on subdomains.\n- `nexus wp` runs WP-CLI with the PHP version of the site.\n- Change the URLs of a site to its Nexus URL in one click. Undo it with one click too.\n- Give each workspace a dump of your live site. Nexus changes the links to the live URL while the dump loads, also in serialized data and JSON. So the workspace opens with its own URL at once.\n- Nexus warns when a plugin sends real mail. It can turn that plugin off for you.\n\n**📥 Import a site:** drop a backup on the Overview. Nexus reads exports of Local, Studio and Jetpack,\n`.wpress` files of All-in-One WP Migration and a folder with a dump. It makes the site, the database\nand a git repository. Then it changes the URLs. In the terminal: `nexus import`.\n\nLaravel (with its starter kits), WordPress, Next.js, Nuxt, Vite and Astro. Nexus makes the folder, the\ndatabase and a git repository. Then it opens the site over HTTPS. In the terminal: `nexus new`.\n\nNexus installs and runs [Mailpit](https://github.com/axllent/mailpit) for you. Every mail that your\nsites send goes to its inbox. No mail leaves your Mac. Each mail shows the site or the workspace that\nsent it. Read your mails in Nexus, or open the web inbox of Mailpit.\n\nInstall a version of PHP, Node or a database with one click. Updates in the same version line install by themselves, for example a security fix of PHP. Nexus also tells you when a version gets no more security fixes.\n\nNexus moves your sites from these apps:\n\n| App | How | \n|---|---|\n| Laravel Herd (Free and Pro) | \"Move from Herd…\" on the Overview, or `nexus import herd` | \n| Laravel Valet | \"Move from Valet…\" on the Overview, or `nexus import valet` | \n\nLocal and MAMP come next. See the [roadmap](https://github.com/NexusLocal/nexus/blob/main/ROADMAP.md).\n\nNexus finds the app on your Mac. The first run of Nexus ends with the move, and the Overview offers it later too. You see each item first and choose what moves.\n\n- **Sites:** the parked folders, the linked sites with their aliases, the proxies, the PHP version of\neach site and your own nginx lines. A site on PHP 8.1 or older gets PHP 8.2.\n- **Databases:** Nexus copies each database from the server that the`.env` or`wp-config.php` of the\nsite names, for example DBngin, Homebrew or Herd Pro. The copy runs while Herd or Valet still runs.\n- **Redis keys, PHP settings and files:** the Redis keys, your`php.ini` lines, the`.env` of each\nLaravel site, the lines of Herd in`~/.zshrc` and project files such as`.mcp.json` with the PHP of\nHerd. Nexus keeps a copy of each file that it changes.\n- **One step for you:** quit Herd with the button in the sheet, or run`valet stop` . Then Nexus takes\nover ports 80 and 443 and the`.test` domain, and it opens each site once.\n\nHerd or Valet and its files stay as they are. The report of the move tells you what moved and how to go back.\n\nYou need:\n\n- A Mac with Apple silicon\n- macOS 27 or later\n- git, for workspaces\n\nThen:\n\n1. Download [`Nexus.dmg`](https://github.com/NexusLocal/nexus/releases/latest/download/Nexus.dmg) from the[latest release](https://github.com/NexusLocal/nexus/releases/latest) .\n2. Move Nexus to the Applications folder and open it.\n3. Follow the first steps of the app:\n  - Allow Nexus to run in the background. The helper sends each `.test` name to Nexus.\n  - Trust the Nexus certificate. macOS asks for your password one time.\n  - Tell Nexus what you build. Nexus then chooses the versions of PHP, Node and the databases.\n  - Click Done. Nexus starts the services that you chose.\n  - Do you use Herd or Valet? Nexus then offers to [move your sites](#-move-to-nexus-in-one-click) .\n4. Allow Nexus to run in the background. The helper sends each \n\nNexus updates itself. See Settings > Updates.\n\nClick + in the sidebar and choose the folder of your project. You can also use the command line:\n\n```\ncd ~/Sites/shop\nnexus site add . --php 8.4\n```\n\nThe site opens on `https://shop.test`. To make each folder in `~/Sites` a site, run `nexus park ~/Sites`.\n\nWhen the `.env` of a Laravel site points to another server on your Mac, the Site screen says so.\n\"Use Nexus…\" shows each key with its old and its new value. Nexus can copy your data first.\n\nEach PHP site can have its own nginx or Apache lines, for example `client_max_body_size 100m;`. Write\nthem on the Site screen or with `nexus site lines`. Nexus checks them before it uses them.\n\nOpen a database service in the app and choose Import database. Copy a database from another server,\nfor example from Docker or MongoDB Atlas. Or load a dump file: `.sql`, `.sql.gz`, a `.zip` or `.tar`\nwith a dump, or an archive of `mongodump --archive`. In the terminal:\n\n```\nnexus db copy shop --to mysql-8.4         # from another server\nnexus db import ~/Downloads/shop.sql.gz   # into the database of the site in this folder\n```\n\nNexus reads the other server and changes nothing on it. A database that exists changes only after\nyour choice. Nexus then puts a copy of the old database in the trash first. The default account of a\nnew instance is `root` without a password.\n\nEach MongoDB runs as a replica set of one server. So transactions work, for example\n`DB::transaction` of Laravel and the nested writes of Prisma.\n\nTurn on Add Nexus to PATH on the Command line screen of Nexus. Then you can use the `nexus` command in\nyour terminal. Run `nexus --help` for all commands, or see the Command line screen.\n\n```\nnexus status                  # the services and their state\nnexus site list               # the sites\nnexus workspace list          # the workspaces\nnexus workspace info --json   # the URL, the databases and the ports of a workspace\nnexus workspace list --old    # the workspaces without activity for some days\nnexus php -v                  # the PHP of the site in this folder\nnexus composer install        # Composer with that PHP\nnexus wp plugin list          # WP-CLI with that PHP\nnexus errors                  # the newest errors of the site in this folder\nnexus dumps --follow          # each new dump of your sites\nnexus logs --level error      # the newest errors in the log files of the app in this folder\nnexus share                   # a public link to the site in this folder\nnexus debug artisan my:task   # one command with Xdebug\nnexus import herd             # move your sites from Herd, or: nexus import valet\n```\n\nYour honest feedback makes Nexus better, also when it is negative.\n\n- 🐛 Did you find a bug? [Open an issue](https://github.com/NexusLocal/nexus/issues/new?template=bug_report.yml) .\n- 💡 Do you need a feature? [Ask for it](https://github.com/NexusLocal/nexus/issues/new?template=feature_request.yml) .\n- 🗺️ What comes next? See the [roadmap](https://github.com/NexusLocal/nexus/blob/main/ROADMAP.md) .\n- ⭐ Do you like Nexus? Give it a star on GitHub. A star helps other developers find Nexus.\n\n- **Crash reports:** Nexus sends anonymous crash reports. Turn them off in Settings > Advanced.\n- **Activity log:** Nexus writes what happens to`~/Library/Application Support/Nexus/logs/activity.log` . So you can see what went wrong. The log\nholds the names of the buttons that you click, the requests to`nexusd` and their results. It does\nnot hold typed text, passwords or`.env` values. The file stays on your Mac. Nexus keeps at most\nabout 10 MB. To open it, use the \"...\" menu on the Overview screen.\n\n- **Signed packages:** Nexus downloads nginx, PHP, the databases and the other packages from[NexusLocal/binaries](https://github.com/NexusLocal/binaries) . The maintainer signs each list of\npackages outside GitHub. Nexus installs only from a list with a valid signature, and it refuses a\nlist that is older than the last one it read. Nexus checks the SHA-256 of each download against\nthat list.\n- **Sources:** The build of each package checks its sources against the checksum or the PGP\nsignature of the publisher.\n\nOpen Settings > Advanced and click Uninstall. Nexus then moves itself to the Trash. You can also run\n`nexus uninstall` and move Nexus to the Trash yourself. Your packages and databases stay in\n`~/Library/Application Support/Nexus` until you delete that folder.\n\nYou need Xcode 27. Copy `Config/Signing.local.xcconfig.example` to `Config/Signing.local.xcconfig`.\nSet your team and open `Nexus.xcodeproj`.\n\nNexus is free and open source under the [MIT license](https://github.com/NexusLocal/nexus/blob/main/LICENSE).", "url": "https://wpnews.pro/news/nexus-an-open-source-app-for-local-development-replacing-paid-saas-like-herd", "canonical_source": "https://github.com/NexusLocal/nexus", "published_at": "2026-11-25 20:01:38+00:00", "updated_at": "2026-11-25 20:12:10.562119+00:00", "lang": "en", "topics": ["developer-tools", "ai-agents", "agent-protocols", "ai-tools"], "entities": ["Nexus", "NexusLocal", "Laravel Herd", "Laravel Valet", "Claude Code", "Codex", "WordPress", "Mailpit"], "also_reported_by": [], "takeaway": "Nexus exposes an MCP server that lets Claude Code and Codex read a site's errors, dumps and mail, with per-agent permissions set by the user.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/nexus-an-open-source-app-for-local-development-replacing-paid-saas-like-herd", "markdown": "https://wpnews.pro/news/nexus-an-open-source-app-for-local-development-replacing-paid-saas-like-herd.md", "text": "https://wpnews.pro/news/nexus-an-open-source-app-for-local-development-replacing-paid-saas-like-herd.txt", "jsonld": "https://wpnews.pro/news/nexus-an-open-source-app-for-local-development-replacing-paid-saas-like-herd.jsonld"}}