toofifty / spam
There is no license information available for the latest version (0.3) of this package.
Easy setup Shell / PHP / Apache / MySQL environment for macOS
0.3
2019-03-11 09:03 UTC
Requires
- symfony/console: ^4.2
This package is auto-updated.
Last update: 2025-05-12 05:58:52 UTC
README
Inspired by Laravel Valet, but specifically created for sites that still rely on Apache and the LAMP / MAMP stack.
Install
Grab it with composer-
composer global require toofifty/spam spam install
Add a site
Add a site to SPAM with the following command. If the sitename is absent, the current directory name is used as the domain.
# cd projects/my-website spam link # => creates http://my-website.test/ spam link our-website # => creates http://our-website.test/
Many domains can point to the same directory. The unlink command works the same way-
# cd projects/my-website spam unlink # => disables http://my-website.test/ spam unlink our-website # => disables http://our-website.test/
Changing PHP versions
You can change the version of PHP at any time - this will apply to all sites, and will change the PHP in your $PATH
.
php -v # => php 7.1.27 spam use php@5.6 php -v # => php 5.6.40 spam use php@latest php -v # => php 7.3.2