Posts tagged with mac

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.

How to upgrade from PHP 7.1 to 7.2 on MacOS using Homebrew original

by Freek Van der Herten – 1 minute read

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…

Read more

Installing PHP 7.2

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.

Read more

Upgrading to PHP 7.1 is easy original

by Freek Van der Herten – 2 minute read

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…

Read more

Introducing Laravel Valet

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.

Read more