Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Releases: svandragt/php-activate

0.3.1

02 Jan 09:53
8de2685
Compare
Choose a tag to compare

Small update:

  1. Eliminate the activate_php:export:20: invalid option(s) output. Exporting the php function is not needed as we source the script into the current shell session.
  2. Harden the script by implementing shellscript linting recommendations.
  3. Readme update.

Full Changelog: 0.3.0...0.3.1

0.3.0

15 Dec 09:44
bc7a9ef
Compare
Choose a tag to compare

Breaking change: the setup instructions for your shell have changed: the shell script now calls itself on source, so please update your own tooling to source php-activate.sh $PHP_VERSION where $PHP_VERSION is the version you want to activate.

This update fixes direnv support, which was not exporting the activated PHP version correctly, when setup according to the README.

This version also drops the Fish shell version of the script, I do not have the motivation to support both.

Full Changelog: 0.2.0...0.3.0

0.2.0

05 Oct 07:57
0ac2244
Compare
Choose a tag to compare

Initial Fish shell support.

0.1.2

21 Mar 14:23
848a61c
Compare
Choose a tag to compare

Been using this for a few months without problems.

Made for those working with multiple projects using a variety of PHP versions, this script will automatically switch to the correct PHP version after cding into the project folder. It does not require sudo, so even works in IDEs.

The latest version contains only documentation changes, but I've been using this successfully for a few months, so wanted to share this more widely

Full Changelog: 0.1.1...0.1.2

0.1.1

08 Feb 10:25
860d2be
Compare
Choose a tag to compare

Full Changelog: 0.1...0.1.1

  • Direnv compatibility

0.1

08 Feb 08:55
4f98c77
Compare
Choose a tag to compare