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

Maintainers

Details

github.com/Toofifty/spam

Source

Issues

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/toofifty/spam

0.3 2019-03-11 09:03 UTC

This package is auto-updated.

Last update: 2025-10-12 06:53:11 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