Local Multi-Domain Kubernetes for Development with Ubuntu + WSL2 + Docker Desktop

Hits: 157

Installation

WSL2 installation on Windows

Install Ubuntu on WSL2 on Windows

Docker Desktop Download

Configuration

After the Docker Desktop installation we need to enable the following WSL integrations at Docker Desktop:

  • Settings > General > check Use the WSL 2 based engine
  • Settings > Resources > check Enable integration with my default WSL distro
Continue reading “Local Multi-Domain Kubernetes for Development with Ubuntu + WSL2 + Docker Desktop”

PHP Profiler SPX – A Another Simple Profiling Tool

Hits: 58

SPX is a PHP Extension for Profiling, also open source, very simple, multimetric capable and with out-of-box web UI for listing, sorting and report details.

For installation, we need to build our extension. We can of course put the building phases directly into our Dockerfile, but I want to know, what things (extension file, webUI Files and configuration changes) need to come through the extension. For this reason, I make a seperate build process in my Dockerfile and copy everything this extension needs.

I follow the steps from official documentation (Timestamp: 20.05.2022), please check, if new or old steps were published, after this blog article)

Continue reading “PHP Profiler SPX – A Another Simple Profiling Tool”

phpstan install globally

Hits: 27

wget -O phpstan.phar https://github.com/phpstan/phpstan/raw/master/phpstan.phar
chmod a+x phpstan.phar
sudo mv phpstan.phar /usr/local/bin/phpstan
phpstan