How to upgrade to PHP 8.2 on Mac (and Laravel Valet) original
Now that PHP 8.2 has been released, it's time to upgrade the PHP of your Mac.
If you're using Brew - which you probably are - there are only a few steps involved.
Posts tagged with mac
Now that PHP 8.2 has been released, it's time to upgrade the PHP of your Mac.
If you're using Brew - which you probably are - there are only a few steps involved.
PHP 8.2 is scheduled to be released on the 24th of Nov, 2022. Of course, meanwhile, you may test the new features, syntax changes, and other improvements in your local environment.
Read more [nunomaduro.com]
Join 9,500+ smart developers
Every month I share what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
Here's a free nifty little Mac app that can do a whole bunch of tasks: formatting JSON, encode URLs, generate UUIDS.
Read more [github.com]
Whenever I upgrade PHP, I seem to have troubles installing imagick. This command pecl install imagick always results in an error "'pcre2.h' file not found". To fix that error, you should issue these commands: brew install pcre2 ln -s /opt/homebrew/Cellar/pcre2/10.39/include/pcre2.h…
Good instructions provided by Nuno.
Read more [nunomaduro.com]
Concise instructions on how to install PHP 8 locally.
Read more [stitcher.io]
Nikita Prokopov shares some good insights on why having a good monitor is important. MacOS users: your fonts will look much better with font smoothing turned off.
Read more [tonsky.me]
In this short post, I'd like to share how I use BetterTouchTool in my daily work.
As usual, my colleague Brent wrote a post with clear instructions on how to upgrade. As a bonus he also provides some necessary steps to get PHP 7.4 to work in Valet.
Read more [stitcher.io]
?shell tip?
— Travis Northcutt (@tnorthcutt) September 6, 2018
brew install tesseract
alias ocr='screencapture -i ~/tmp/screenshot.png && tesseract ~/tmp/screenshot.png stdout | pbcopy && rm -f ~/tmp/screenshot.png'
Then, run `ocr` in your terminal, select text in an image, and...
✨it's copied to your clipboard ✨ pic.twitter.com/KEsiDasu8l
Read more [twitter.com]
Recently Homebrew reorganised some PHP stuff. The old methods to install PHP and extensions via Homebrow don't work anymore. Andy Grunwald wrote a blogpost on how to migrate.
With Homebrew 1.5.0 the tap homebrew/php got deprecated. They migrated it to homebrew/core, but this is changing the installation process completely:
PHP 7.2 was released almost two months ago. I decided to wait a bit until a stable version of Xdebug with PHP 7.2 compatiblity was available. And that happened yesterday with the release of Xdebug 2.6. I'm on MacOS and use brew to install stuff. Upgrading from PHP 7.1 to 7.2 is laughably easy. These…
PHP 7.2 was released last week. Here's a nice post highlighting the most important changes. If you want to know how to install PHP 7.2 on your system, Colin O' Dell has got you covered.
PHP 7.2 has been released, bringing some great new features and security enhancements to the language such as object type hints, saner count() behavior, and much more. Here's a brief guide on how to install PHP 7.2 on several different operating systems.
https://www.colinodell.com/blog/201711/installing-php-72
Using brew on MacOS it's very easy to upgrade from PHP 7.1 to PHP 7.2. Just run these:
brew update
brew upgrade
brew unlink php71
brew install php72
Please be aware that, at the moment of writing, there isn't a stable xdebug version that works for PHP 7.2. Keep an eye on the xdebug homepage to know when a stable version drops.
One of the first things I do after a fresh setup. That annoyed me for the /longest/ time. pic.twitter.com/j9LvzbMQQd
— Jaggy ? (@jaggygauran) August 31, 2017
Read more [twitter.com]
PHP 7.1 was released last week. It has many nice new features. If you're anything like me, you want to use the latest version right way. Upgrading to PHP 7.1 is not that difficult. Personally I use homebrew. The steps required to upgrade from 7.0 are laughably simple. Just issue this command in your…
Chances are that if you've been following the news in the Laravel ecosystem that you've heard of Laravel Valent. If not: Laravel Valet is a super easy way to serve your sites in a development environment. It's dead simple to setup and use. Here's the intro video:
https://www.youtube.com/watch?v=H3Z4Gk9Wc0s
I think it's kinda amazing that it was built in just four days. Not everybody is a fan of the Valet approach be I sure do like it. At Spatie, we're going use Valet instead of Vagrant for most of our projects.
Need to know more about Valet? Check out this post on dotdev.co and the official documentation.
Paw is a very nice rest client for Mac. Comes highly recommended.