Black Friday Week - This week only! Black Friday Week - Save up to 50% on our courses and apps. Learn more
Expose can be installed using composer.
The easiest way to install expose is by making it a global composer dependency:
composer global require beyondcode/expose
Expose has a
Dockerfile already in the source root.
You can build and use it without requiring any extra effort.
docker build -t expose .
docker run expose <expose command>
docker run expose share http://192.168.2.100 # share a local site docker run expose serve my-domain.com # start a server
Now you're ready to go and can share your first site.
By default, expose comes as an executable PHAR file. This allows you to use all of the expose features, like sharing your local sites, out of the box - without any additional setup required.
If you want to modify expose, for example by adding custom request/response modifiers, you will need to clone the GitHub repository instead.
You can learn more about how to customize expose in the extending Expose documentation section.