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.


0 comments / March 25, 2023

Laravel middleware: Trying to get property headers of non-object

This error occurs generally when redirects are not properly handled in the laravel middleware


0 comments / March 16, 2023

Constant expression contains invalid operations - Laravel

I had the following code in one of my laravel projects and it just triggered a "Constant expression contains invalid operations" error when I landed on the specific page.


0 comments / March 15, 2023

Error “Target class controller does not exist” in Laravel

The error "Target class controller does not exist" in Laravel 8 typically occurs when Laravel is unable to locate the controller specified in your route definition


0 comments / March 14, 2023

How to connect multiple database in laravel

You can use multiple databases in several ways. "DB" facade or Eloquent, both supports using multiple database connections.


0 comments / March 13, 2023

How to fetch data from database in Laravel

In Laravel, you can fetch data from a database using the built-in Query Builder or Eloquent ORM.