Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages