macports-php
The repository is for missing PHP-related macports, like composer
and
provides bash-completion for the latter.
Installation
- Install macports - obviously this works for Mac OS or Darwin only - maybe also on some other BSD - would be nice to get some feedback?!
- Clone this repository to your desired location and add it to macports’
sources.conf
.
Quick-Installation Example
# Define your custom path to install the repository into
MACPORTS_PHP=${HOME}/…path…/…to…/macports-php
# Clone the repository
git clone https://github.com/sjorek/macports-php ${MACPORTS_PHP}
# Add the working copy's path to /opt/local/etc/macports/sources.conf
sudo bash -c "sed -i'.bak-$( date +%s )~' -E 's#^(rsync|file)#${MACPORTS_PHP}\\n\\1#' /opt/local/etc/macports/sources.conf"
# Update macports
sudo port -v selfupdate
# Install composer version 1.x and 2.2.x up to 2.7.x for php versions 7.0 to 8.4
sudo port -v install \
composer{1,22}-php{70,71,72,73,74,80,81,82,83} \
composer2{3,4,5,6}-php{72,73,74,80,81,82,83} \
composer{27,28}-php{72,73,74,80,81,82,83,84}
Look at the contribution guidelines if you want to contribute. The development-setup differs slightly.
List of (currently) provided macports
composer1 @1.10.27 php/composer1
composer1-php @1.10.27 php/composer1
composer1-php56 @1.10.27 php/composer1
composer1-php70 @1.10.27 php/composer1
composer1-php71 @1.10.27 php/composer1
composer1-php72 @1.10.27 php/composer1
composer1-php73 @1.10.27 php/composer1
composer1-php74 @1.10.27 php/composer1
composer1-php80 @1.10.27 php/composer1
composer1-php81 @1.10.27 php/composer1
composer1-php82 @1.10.27 php/composer1
composer1-php83 @1.10.27 php/composer1
composer22 @2.2.24 php/composer22
composer22-php @2.2.24 php/composer22
composer22-php56 @2.2.24 php/composer22
composer22-php70 @2.2.24 php/composer22
composer22-php71 @2.2.24 php/composer22
composer22-php72 @2.2.24 php/composer22
composer22-php73 @2.2.24 php/composer22
composer22-php80 @2.2.24 php/composer22
composer22-php81 @2.2.24 php/composer22
composer22-php82 @2.2.24 php/composer22
composer22-php83 @2.2.24 php/composer22
composer23 @2.3.10 php/composer23
composer23-php @2.3.10 php/composer23
composer23-php72 @2.3.10 php/composer23
composer23-php73 @2.3.10 php/composer23
composer23-php80 @2.3.10 php/composer23
composer23-php81 @2.3.10 php/composer23
composer23-php82 @2.3.10 php/composer23
composer23-php83 @2.3.10 php/composer23
composer24 @2.4.4 php/composer24
composer24-php @2.4.4 php/composer24
composer24-php72 @2.4.4 php/composer24
composer24-php73 @2.4.4 php/composer24
composer24-php80 @2.4.4 php/composer24
composer24-php81 @2.4.4 php/composer24
composer24-php82 @2.4.4 php/composer24
composer24-php83 @2.4.4 php/composer24
composer25 @2.5.8 php/composer25
composer25-php @2.5.8 php/composer25
composer25-php72 @2.5.8 php/composer25
composer25-php73 @2.5.8 php/composer25
composer25-php80 @2.5.8 php/composer25
composer25-php81 @2.5.8 php/composer25
composer25-php82 @2.5.8 php/composer25
composer25-php83 @2.5.8 php/composer25
composer26 @2.6.6 php/composer26
composer26-php @2.6.6 php/composer26
composer26-php72 @2.6.6 php/composer26
composer26-php73 @2.6.6 php/composer26
composer26-php80 @2.6.6 php/composer26
composer26-php81 @2.6.6 php/composer26
composer26-php82 @2.6.6 php/composer26
composer26-php83 @2.6.6 php/composer26
composer27 @2.7.9 php/composer27
composer27-php @2.7.9 php/composer27
composer27-php72 @2.7.9 php/composer27
composer27-php73 @2.7.9 php/composer27
composer27-php80 @2.7.9 php/composer27
composer27-php81 @2.7.9 php/composer27
composer27-php82 @2.7.9 php/composer27
composer27-php83 @2.7.9 php/composer27
composer27-php84 @2.7.9 php/composer27
composer28 @2.8.1 php/composer28
composer28-php @2.8.1 php/composer28
composer28-php72 @2.8.1 php/composer28
composer28-php73 @2.8.1 php/composer28
composer28-php80 @2.8.1 php/composer28
composer28-php81 @2.8.1 php/composer28
composer28-php82 @2.8.1 php/composer28
composer28-php83 @2.8.1 php/composer28
composer28-php84 @2.8.1 php/composer28
composer-bash-completion @1.0.4 sysutils/composer-bash-completion
composer_select @1.0 sysutils/composer_select
php-path-alias @1.0.0 php/php-path-alias
What if composer has been updated and this repository does not reflect this?
Look at the contribution guidelines.
Links
Status
GitHub
Social
Want more?
Are you preferring homebrew? Then, take a look at the alternative homebrew-php project.
Cheers!