Tuesday, January 31, 2023
Home PHP

PHP

Kodementor provide all the tutorials and updates about PHP form PHP community

php8.1

New features in PHP 8.1

PHP 8.1 is a major new version to PHP, which brings several new features, quality-of-life improvements, and attempts to prepare PHP to iron out...

Get file name from a path in PHP

Today, we will learn how to get the file name from a given path in PHP. There are various ways to achieve this, but...
phpunit

How to Filter PHPUnit tests

We have started writing test in our application in the previous article. In you have noticed, when we run the vendor/bin/phpunit tests command, all...

Test Driven Development in PHP

Test Driven Development (TDD) is a software development approach where tests are written first and then code passing the test is written. In other...
function overloading

Function Overriding and Overloading in PHP

Function overriding and overloading are forms of Polymorphism in Object Oriented Programming. Method overloading occurs when two or more methods with the same method...

Capture Webpage Screenshot using PageSpeed Insights API

In this article, we will capture a screenshot of the website using Google PageSpeed Insights API. This is a simple process that will be...

Integrate Google PageSpeed Insights API

Do you know, Google provides a free PageSpeed Insights API to analyze websites? It gives free access to performance monitoring of web pages and...
xdebug xampp

Configure XDebug, Xampp and VSCode in Windows

Xdebug is an extension for PHP to assist with debugging and development. Xdebug makes development easier by allowing the developer to debug his code...
remove empty categories in woocommerce

Get only Categories that Contain Products on Sale

While I was working on a project, I came across a situation where I need to filter all the categories with products on sale....
dependency injection

Understanding Dependency Injection in Laravel

Dependency Injection is a design pattern that injects objects into the constructor or methods of other objects, so that one object depends on one...

LATEST ARTICLES

MOST POPULAR