homebrew-php | :beer: Homebrew tap for PHP 56 to 83 PHP 83 is built nightly | HTTP Client library
kandi X-RAY | homebrew-php Summary
kandi X-RAY | homebrew-php Summary
:beer: Homebrew tap for PHP 5.6 to 8.3. PHP 8.3 is built nightly.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of homebrew-php
homebrew-php Key Features
homebrew-php Examples and Code Snippets
Community Discussions
Trending Discussions on homebrew-php
QUESTION
Homebrew has in-house PHP formulae for all PHP versions.
...ANSWER
Answered 2021-Nov-29 at 19:48PHP versions provided by shivammathur/homebrew-php
: 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2
PHP versions provided by homebrew/homebrew-core
: 7.2, 7.3, 7.4, 8.0, 8.1
Note that the official homebrew/homebrew-core
tap does not have the pre-release 8.2 version and the older 5.6, 7.0, and 7.1 versions. Therefore, it's not recommended to depend on homebrew/homebrew-core
for specific PHP versions because they might be unavailable at the moment or deleted in the future. For such cases, a third-party tap such as shivammathur/homebrew-php
should be used instead. (Ideally, developers should update their applications to be compatible with the latest stable PHP version, but sometimes that takes too long or is maybe even impossible.)
From Why is it so hard to install old versions of homebrew-core packages?
The philosophy of Homebrew is that we do not care that much about old versions of software. This is how Homebrew was designed, and how it has worked for the last 10 years.
Some people confuse Homebrew with virtualenvs / conda / nix, which surely provide a better support for older versions and different build environments. We are not doing this and do not plan to do this in a foreseable future. Our audience is also not the same.
But support for old versions is not totally zero in Homebrew: you can host an old formula in a tap if you want to maintain it, or we have some versioned formuale (example python@3.8 and python@3.7), because we thought these were really important and deserved to be maintained by us. But we try to avoid too many of these and there are strict rules around versioned formulae.
So it is totally doable to build your own collection of homebrew formulae for your company. We even introduced the possibility to build bottles and host them yourself (for free) a few days/weeks ago: https://brew.sh/2020/11/18/homebrew-tap-with-bottles-uploaded-to-github-releases/.
From Acceptable Formulae ¶ Niche (or self-submitted) stuff:
The software in question must:
- be maintained (i.e. the last release wasn’t ages ago, it works without patching on all Homebrew-supported OS versions and has no outstanding, unpatched security vulnerabilities)
- be known
- be stable (e.g. not declared “unstable” or “beta” by upstream)
- be used
- have a homepage
We will reject formulae that seem too obscure, partly because they won’t get maintained and partly because we have to draw the line somewhere.
QUESTION
I am trying to use the command php artisan pull or push which gives me the following error:
...ANSWER
Answered 2020-Feb-20 at 18:34I couldn't get rid of this problem so I made a backup with all files from my macbook. I erased my harddrive and did a clean macos install. After reinstalling everything (homebrew, mysql, php, vagrant etc.) I opened my project tried the commands above and everything worked fine.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install homebrew-php
For example, to install PHP 8.0:
After installing your have to link it:
Restart the terminal and test your PHP version:
You can upgrade your PHP version to the latest patch release.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page