To run PhpStorm from the shell, use the open command with the following options: -a: specify the application. –args: specify additional arguments when passing more than just… Read More »Launch PhpStorm from terminal like a standalone instance for mac OS
Install Stats https://github.com/exelban/stats Install brew. /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)” export PATH=/opt/homebrew/bin:$PATH Warning: Homebrew’s “sbin” was not found in your PATH but you have installed… Read More »Setup Dev environment on Mac
What is SOLID? As a software developer, we always need to deal with changes in requirements or a new feature in the middle of development… Read More »SOLID: The First 5 Principles of Object Oriented Design with PHP
Git private repository requires SSH access. So you must ensure that your hosting package has SSH enabled (customers on Web Hosting Magic need not worry… Read More »How To Clone A Private Github Repo To A cPanel Server
Since PHP8 was released we’ve started upgrading all our projects to PHP 8, the things we can do with attributes, union types, and other new… Read More »Switching between PHP versions with Laravel Valet
Software engineering principles, from Robert C. Martin’s book `Clean Code`, adapted for PHP. This is not a style guide. It’s a guide to producing readable, reusable, and refactorable software in PHP. These are guidelines and nothing more, but they are ones codified over many years of collective experience by the authors of Clean Code.
Coding standards guide the programmers to write code that can be easily read by other developers to understand every part of it effortlessly. So WordPress… Read More »Validate WordPress PHP coding standard using PHPCS