Apple M1 / Development / PHP

PHP 8 with Xdebug 3 on Apple M1

We can install Xdebug via pecl on MacOS with Homebrew. Paste that in terminal. And see if the php interpreter with Xdebug working: to correctly configuration Xdebug, locate (or create) section in php.ini file. Finding your currently php.ini location, type this in terminal: php –ini Open the php.ini file. add it as follows at the last lines of file Enjoy! 😊 Views: 18

Apple M1 / Development / PHP

PHP 8 Installation on Mac M1 via homebrew

Install first homebrew, if it is not already installed. Paste that in macOS Terminal. And follow the ==> Next steps: after Installation add homebrew to your PATH Actually Default Image for php from Brew Package Repository is a PHP 8. Here we can see that: Thats means, we can simple install the php 8 in a macOS Terminal with this command brew install php, but we want to explicit install version 8, other versions can be declared as standard in the future. Paste that in terminal after that, you should be linked the installed php as system default php interpreter, […]

Development / PHP

PHPStorm – Symfony log highlighting

To do, go into Settings -> Editor -> Log Highlighting (Ideolog) Add new Log Format with the following config: special thanks to : https://locastic.com/blog/a-quick-way-to-browse-symfony-logs-with-phpstorm/ Views: 44