Skip to content

viktorruskai/switch-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Switch PHP

Switch between your installed PHP versions. This script requires Homebrew.

Installation

Download this code and copy it to /usr/local/bin/. For example:

$ cp switch-php.sh /usr/local/bin/switch-php && chmod +x /usr/local/bin/switch-php

or download it via curl:

$ curl -L https://raw.githubusercontent.com/viktorruskai/switch-php/master/switch-php.sh > /usr/local/bin/switch-php && chmod +x /usr/local/bin/switch-php

Usage

Use command switch-php followed by a PHP version number. For example:

$ switch-php 7.4

License

This project is licensed under the MIT license.

About

Switch between PHP versions installed via Homebrew.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages