Wallogit.com
2017 © Pedro Peláez
simple local PHP development
simple local PHP development, (*1)
WARNING: This project started as a PHP project and is still in the process of being ported to Javascript. The Javascript version is mostly untested, unfinished, and undocumented. You might want to wait., (*2)
npm install -g shed-hostshed up -dShed provides a platform for simple, local, PHP development, in the same kind of way MAMP, Laravel Valet, or Homestead does., (*3)
It's designed to provide a set-it-and-forget-it platform for local, PHP development., (*4)
To run Shed, you only need to be able to run Docker and NPM. Shed is not tested on Windows yet, but Shed plans to support Windows, Linux, and OS X., (*5)
There is a .env file in the shed's directory that must be edited by hand for now, until shed config is ported over from the PHP version., (*6)
Start Shed by running shed up or shed up -d. Once it's running, you can access your projects based on their folder names. For example, To access Projects/example.com, I would go to, (*7)
That's it. If you don't want to use shed.host, you can use any of the following:, (*8)
Shed assumes that the document root for all your projects is
<projectfolder>/public. If you use docroot/ instead, you can try creating a
symlink like this:, (*9)
$ ln -s public docroot
*.shed.host is setup using wildcard DNS to point to 127.0.0.1 - one of the IPs designed to always point to your own local system (localhost.) This eliminates any need to etc your /etc/hosts file., (*10)
Within Shed's apache container, it uses mod_vhost_alias to map these subdomains back to separate virtualhosts. This means that there's no new apache configuration required., (*11)
There are two groups of special domains:, (*12)
Adminer is a lightweight webapp for managing databases, including both MySQL and PostgreSQL. The latest release of Adminer is included in Shed., (*13)
You can login by going to http://my.shed.host/ and clicking the relevant link, or:, (*14)
mysql, username is root, no passwordpostgres, username is postgres, no passwordXDebug and Webgrind are setup within Shed as well. You can trigger XDebug
profiling by adding ?XDEBUG_PROFILE=1 to the end of a URL., (*15)
You can view That profile with Webgrind by going to, (*16)