Start by making sure brew is up-to-date: brew update You can either use the built-in php recipe, but I recommend to use the shivammathur/homebrew-php tap. #normal-upgrade Normal upgrade brew upgrade php #upgrade-with-shivammathur/homebrew-php Upgrade with shivammathur/homebrew-php brew tap shivammathur/php brew install shivammathur/php/php@8.2

PHP extensions are installed using pecl.

Make sure to restart your web server after installing new packages: sudo nginx -s reload sudo apachectl restart valet restart
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners