Category: PHP

PHP tutorials and code snippets to help beginners and advance users. PHP web store hosting services and development.

How to install and configure Apache2 on WSL2? 0

How to install and configure Apache2 on WSL2?

I hope you already have WSL2 installed and enabled. So, setting up Apache2 on WSL2 (Windows Subsystem for Linux 2) involves a few steps. Below are the detailed instructions to install and configure Apache2...

DreamHost Web Hosting - Shared - VPS Hosting 0

DreamHost Web Hosting

DreamHost a web hosting company, founded in 1997. It is offering sort of hosting services, including shared, VPS, dedicated and WordPress hosting. It is reliable and affordable hosting provider to small and large businesses...

First date, last date of last month and first, last date of last week 0

Working with dates in PHP.

In this article, I am going to show you how we can get specific dates like get start date for last week, end date of last week, first day of last month and last...

Laravel 8 error target class controller does not exist. 0

Boolean field validation in Laravel

In Laravel, we can write validation rules in custom classes to validate form fields. These classes are extends from FormRequest. Sometimes, you can get a Boolean field value as string like ‘true’ or ‘false’...

Laravel 8 error target class controller does not exist. 0

How to use whereHas() and with() in laravel 8?

Laravel is very famous and widely used PHP Framework. Nowadays, I am doing development in Laravel along with other RoR and Java projects. I was working on a Laravel 8 project in which I...

Handling Signals in Laravel Console Commands

Handling Signals in Laravel Console Commands

Laravel Artisan commands can now handle signals through Symfony’s signal handling features. Learn more about how to handle signals in Laravel console commands. The post Handling Signals in Laravel Console Commands appeared first on...