Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sjorek/macports-php
The repository is for missing PHP-related macports, like “composer”.
https://github.com/sjorek/macports-php
composer macports macports-php php
Last synced: about 2 months ago
JSON representation
The repository is for missing PHP-related macports, like “composer”.
- Host: GitHub
- URL: https://github.com/sjorek/macports-php
- Owner: sjorek
- License: bsd-2-clause
- Created: 2017-09-17T21:32:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-15T11:19:45.000Z (4 months ago)
- Last Synced: 2024-09-15T13:22:35.371Z (4 months ago)
- Topics: composer, macports, macports-php, php
- Language: Tcl
- Homepage: https://sjorek.github.io/macports-php/
- Size: 284 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# [macports-php](https://sjorek.github.io/macports-php/)
The repository is for missing PHP-related macports, like `composer` and
provides bash-completion for the latter.## Installation
1. Install [macports](https://www.macports.org) - obviously this works
for Mac OS or Darwin only - maybe also on some other BSD - would be
nice to get some feedback?!
2. Clone this repository to your desired location and add it to macports'
`sources.conf`.### Quick-Installation Example
```console
# 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](CONTRIBUTING.md) 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/composer1composer22 @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/composer22composer23 @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/composer23composer24 @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/composer24composer25 @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/composer25composer26 @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/composer26composer27 @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/composer27composer28 @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/composer28composer-bash-completion @1.0.4 sysutils/composer-bash-completion
composer_select @1.0 sysutils/composer_selectphp-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.](CONTRIBUTING.md)
## Links
### Status
[![Build Status](https://img.shields.io/travis/com/sjorek/macports-php.svg)](https://travis-ci.com/sjorek/macports-php)
### GitHub
[![GitHub Issues](https://img.shields.io/github/issues/sjorek/macports-php.svg)](https://github.com/sjorek/macports-php/issues)
[![GitHub Latest Tag](https://img.shields.io/github/tag/sjorek/macports-php.svg)](https://github.com/sjorek/macports-php/tags)
[![GitHub Total Downloads](https://img.shields.io/github/downloads/sjorek/macports-php/total.svg)](https://github.com/sjorek/macports-php/releases)### Social
[![GitHub Forks](https://img.shields.io/github/forks/sjorek/macports-php.svg?style=social)](https://github.com/sjorek/macports-php/network)
[![GitHub Stars](https://img.shields.io/github/stars/sjorek/macports-php.svg?style=social)](https://github.com/sjorek/macports-php/stargazers)
[![GitHub Watchers](https://img.shields.io/github/watchers/sjorek/macports-php.svg?style=social)](https://github.com/sjorek/macports-php/watchers)
[![Twitter](https://img.shields.io/twitter/url/https/github.com/sjorek/macports-php.svg?style=social)](https://twitter.com/intent/tweet?url=https%3A%2F%2Fsjorek.github.io%2Fmacports-php%2F)## Want more?
Are you preferring [homebrew](https://brew.sh)? Then, take a look at the
alternative [homebrew-php](https://sjorek.github.io/homebrew-php/) project.Cheers!