Category: PHP

PHP8: Match Expressions

Switch statements in PHP are useful, yet clunky. Think of the new match expression in PHP 8…

 Posted in PHP Tagged , , ,

PHP8: Null safe operator 

Null safe operator is a new short syntax in PHP 8.0, that provides an optional chaining feature…

 Posted in PHP Tagged , , ,

PHP: Flip a coin

In this post, we will write a small program that will flip a coin for…

 Posted in PHP, Tips Tagged , , , ,
laravel_blog_image

How to install all required PHP extensions for Laravel?

Problem This problem can occur while creating Laravel project via composer and the system is…

 Posted in Laravel, PHP

WordPress: Including CSS & JavaScript

While you are developing Wordpress theme, you may want to add custom stylesheets or javascript files.

 Posted in CMS, Development, PHP Tagged ,
Laravel

Laravel: Login with email or phone

How to login with phone or email in Laravel passport?

 Posted in Code snippets, Laravel, PHP, Programming Tagged , ,

Drupal: Working with filters criteria

A View filter restricts the entities displayed by the View to only those match the…

 Posted in CMS, PHP Tagged , , , , ,

The website encountered an unexpected error.

After updating Drupal Core if you encountered error displayed in image above make sure you have cleared the cache.

 Posted in CMS, PHP Tagged , , ,

Drupal core upgrade 9.1.2

How to upgrade Drupal core manually or via composer?

 Posted in CMS, PHP Tagged , ,

PHP vs Python vs Ruby on Rails Comparison

What is the best choice for website / server side web development?

 Posted in Development, PHP, Python, Ruby on Rails Tagged , , , , ,