0 comments / April 13, 2023

Does laravel 8 requires php 8.1?

No, Laravel 8 has a minimum PHP version requirement of php 7.3, as stated in the server requirements. However, if you are downgrading from higher version of laravel then you have some works todo.


0 comments / April 10, 2023

SQLSTATE[42S01]: Base table or view already exists - Laravel

SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'xxxx' already exists. This error comes up when you try to run the migration when the table already exists in the database.


0 comments / April 08, 2023

Allow ampersand (&) and question mark (?) in the mailto link

If you require the ability to create an email link that, when clicked, will open a new email window (using the default email program) with the necessary fields pre-populated, such as To, CC, Bcc, Subject, and Body then you can use "mailto" feature.


0 comments / April 08, 2023

Set header conditionally if certain word present in the url - htaccess

You can set headers conditionally if certain word present in the URL using .htaccess. This can be completed by using the Header directive and the "IF" conditional directive.


0 comments / March 27, 2023

What is named arguments in php?

Named arguments is a feature introduced in PHP 8 that allows developers to pass arguments to functions or methods by specifying their names explicitly, instead of relying on their position. This makes it easier to understand the code and prevents errors that may occur when the order of the arguments changes.


0 comments / March 26, 2023

How to split zip files into parts with specific size in linux command

To split/archive files into a zip file with multiple parts of same size, you can use file compression software such as WinZip or 7-Zip. You can use the "zip" command to do the same in Linux.


0 comments / March 26, 2023

How to clear too many login attempts timeout in laravel command line

By default, if a user fails to log in five times within one minute, they will receive the error message "Too many login attempts. Please try again in X seconds." This restriction is lifted after X seconds, which is set to 60 by default. However, in some cases, it may be necessary to clear this timeout restriction in the local environment.