PHPnews.io

Overview for 'php'


Run a PHP app in a Docker Container

Written by Bram.us / Original link on Dec. 11, 2019

The past week I took a closer look at the several options on how to run a PHP app with Docker. In the past I’ve ran a few pre-built containers, but now I wanted to truly get to the bottom of it all as I don’t always need a full blown container with all extensions, but want to start from a rather cl…


How to set up PHP for use in a GitHub Action

Written by Bram.us / Original link on Dec. 9, 2019

To use PHP in a GitHub action there’s the magnificent setup-php action. It also allows for installing extensions and setting several php.ini directives.steps:- name: Checkout uses: actions/checkout@v1- name: Setup PHP uses: shivammathur/setup-php@v1 with: php-version: '7.4' extensions: mbs…



PHPStan 0.12 Released!

Written by Ondřej Mirtes / Original link on Dec. 4, 2019

This is a massive release that has been in the works for the past six months. We’ve managed to churn out minor releases even during the development of this new major version. This continuous workflow was enabled by feature toggles — people were able to try out the new features even while using the …


Upgrade to PHP 7.4 with Homebrew on Mac

Written by Bram.us / Original link on Dec. 3, 2019

Brent has done a writeup on how to upgrade your Homebrew-installed PHP version to PHP 7.4. Since the php formula now contains that 7.4 version (instead of 7.3 before), all you need to do is make sure brew is up-to-date and then upgrade the php formula itself:# make sure brew is up-to-datebrew updat…