Laravel

Laravel is a nice modern PHP framework by Tayler Otwell, read more about it at http://laravel.com

Sessions table no ip address

Laravel Database Sessions Table without IP Address & User Agent Collection – GDPR friendly

For some strange reason Laravel collects IP addresses and user agents in the Session Database Table driver. Almost all session drivers, except from the database driver don’t seem to collect IP addresses. The Simple Way To prevent this mostly, the easiest (almost non-code) way is to change the column types of the ip address and …

Laravel Database Sessions Table without IP Address & User Agent Collection – GDPR friendly Read More »

Laravel Vapor

Going Serverless for PHP and Laravel: the options compared

Not every Laravel professional is a server professional and that is fine. Still, many Laravel apps are hosted on VPS instances. Serverless gives a way to host Laravel or PHP without thinking about hosting. In this article we compare various options. Hosting on AWS Lamda via Bref There is an excellent package called Bref, which …

Going Serverless for PHP and Laravel: the options compared Read More »

Laravel Telescope

Laravel Telescope: The command “telescope:prune” does not exist.

Since upgrading Laravel to the newest versions, telescope:prune does not always work anymore and gives this error: Telescope is installed though. Hopefully, it will be solved soon. It especially doesn’t seem to work when adding the —hours flag, for example telescope:prune –hours=96. For me, both didn’t work. So far, the way to circumvent this is …

Laravel Telescope: The command “telescope:prune” does not exist. Read More »

Laravel resolving-declaration translatorinterface error display

Resolving the “Declaration of TranslatorInterface Must Be Compatible” Error in Laravel

One of Laravel’s possible issues is the “Declaration of TranslatorInterface Must Be Compatible” error, which can be quite frustrating to resolve. In this article, we will discuss a common solution to this error and an alternative approach if the standard fix doesn’t work for you. The Error The error message in question typically looks like …

Resolving the “Declaration of TranslatorInterface Must Be Compatible” Error in Laravel Read More »

Laravel Upgrading Cycle

Why Laravel Is Not Always Fun Anymore Due To Its Upgrading Cycle

I used to develop projects with PHP only, without a framework. Different classes, functions, etc. Until it became a mess and I was looking for something more structural. Laravel came onto my journey and I love(d) it. Finally having a structured way of writing projects with Model, View and Controller structures with the Blade engine …

Why Laravel Is Not Always Fun Anymore Due To Its Upgrading Cycle Read More »

Laravel Upgrade to PHP 8.1: Attribute value must be of type bool for selected attribute, array given: Laravel Upgrade to PHP 8.1

When upgrading Laravel to PHP 8.1, you could receive the following notice: The reason: This should likely be in your theme or Eloquent code. Try adding a new simple temporary route in routes/web.php: When opening /test it should probably be working. That is why it could be something in your theme. Navigate to your blade …

Laravel Upgrade to PHP 8.1: Attribute value must be of type bool for selected attribute, array given: Laravel Upgrade to PHP 8.1 Read More »

Homestead Vagrant Warning Authentication Failed

Laravel Homestead: Vagrant SSH authentication failure

Sometimes when commanding vagrant up, you can receive this error: You can cancel this by entering CTRL+C on a Mac. One of the ways that seems to help is doing: Then, you will see the location of the IdentityFile. For example: You can temporarily move/backup this file. When doing a vagrant up or vagrant provision …

Laravel Homestead: Vagrant SSH authentication failure Read More »

Scroll to Top