PHPackages                             alexwight/marquis - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. alexwight/marquis

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

alexwight/marquis
=================

OSX localhost reverse proxy tool

0.16(8y ago)011MITPHPPHP &gt;=5.6

Since Feb 17Pushed 8y ago2 watchersCompare

[ Source](https://github.com/alexwight/marquis)[ Packagist](https://packagist.org/packages/alexwight/marquis)[ RSS](/packages/alexwight-marquis/feed)WikiDiscussions master Synced yesterday

READMEChangelog (7)Dependencies (5)Versions (8)Used By (0)

marquis
=======

[](#marquis)

A simple way to point local domains to internal ports

Introduction
------------

[](#introduction)

Develop on Mac OS and love [docker](https://www.docker.com) or [vagrant](https://www.vagrantup.com) for local development?

Sick to death of remembering port numbers you have mapped to your VM's or containers? Join the club.

Marquis is wrapper around [DnsMasq](https://en.wikipedia.org/wiki/Dnsmasq) and [nginx](https://www.nginx.com) for Mac developers to point a local domain name to a port running on localhost.

Installation
------------

[](#installation)

Marquis requires macOS and [Homebrew](http://brew.sh/). Before installation, you should make sure that no other programs such as Apache or Nginx are binding to your local machine's port 80

- Install or update [Homebrew](http://brew.sh/) to the latest version using brew update.
- Install PHP &gt; 5.6 using Homebrew. e.g.`$ brew install homebrew/php/php72`
- Install Marquis with Composer via `$ composer global require alexwight/marquis`. Make sure the ~/.composer/vendor/bin directory is in your system's "PATH".
- Run the `$ marquis install` command. This will configure and install Nginx and DnsMasq.

Usage Examples
--------------

[](#usage-examples)

`marquis site [subdomain] [target protocol] [destination port] [-- listen port]`

### HTTP

[](#http)

To access target at `http://localhost:8080`

`$ marquis site myapp http 8080`

You can now access at `http://myapp.test`

### HTTPS

[](#https)

To access target at `https://localhost:8443`

`$ marquis site myapp https 8443`

You can now access at `https://myapp.test`

SSL Certificate is automatically generated and trusted. HTTP/2 enabled by default.

Docker example
--------------

[](#docker-example)

`docker pull karthequian/helloworld:latest`

`docker run -p 8001:80/tcp "karthequian/helloworld:latest"`

Site now available at

`$ marquis site howdy http 8001`

Site also now available at

### SSL Termination

[](#ssl-termination)

Proxy will handle the SSL termination so can handle https when the backend does not expose it, e.g.

`marquis site howdy http 8001 443`

Site also now available at

Problems?
---------

[](#problems)

I'm just using this for myself and putting this up there incase anyone else wants it. If you are using this then I assume you are a developer. Fix it and submit a pull request.

License
-------

[](#license)

Marquis is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

7

Last Release

3055d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6297096?v=4)[Alex Wight](/maintainers/alexwight)[@alexwight](https://github.com/alexwight)

### Embed Badge

![Health badge](/badges/alexwight-marquis/health.svg)

```
[![Health](https://phpackages.com/badges/alexwight-marquis/health.svg)](https://phpackages.com/packages/alexwight-marquis)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)[ycodetech/valet-windows

A more enjoyable local development experience for Windows. A Windows port of the popular Laravel Valet and a fork of cretueusebiu/valet-windows, with new features.

461.7k](/packages/ycodetech-valet-windows)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
