Laravel Level 1 glennutterOP Posted 1 year ago The company I'm working for have a very outdated Laravel 3 application still in production. They want to upgrade Laravel to the latest version. They use a normal release process where all devs create feature branches => pull requests => reviews...
Interestingly, I find out a method which Laravel provide, but never used before,Mass Update in One line of code. can you image how easy it is . $audit = \App\LoginAudit::where('TrainerUserID', $username) ->orderBy('id_num','DESC')->firstOrFail(); Session::put('id_login', $au...
The first way to improve the performance of your Laravel application may seem a bit obvious—keep your PHP and Laravel versions up to date. While this can be more challenging with large legacy applications, using the latest versions gives you a number of benefits, such as new features, bug ...
In this tutorial, we are going to explain in step-by-step detail how to install Laravel on the latest Ubuntu 22.04 distribution. Laravel is an open-source PHP framework developed for faster implementation and development of web applications along with many built-in features and many libraries.Lar...
They will be able to take a closer look and help you update to PHP 7.3. Reply sventhegrinch says: March 1, 2020 at 3:11 pm I updated to 7.2, it’s saying it did, on the host it confirms, but when I try to install Laravel it tells me it found 7.1. Any advice as to what’...
A Laravel application to containerize. Docker installed. Docker Composeinstalled. Why Use Docker for Laravel? Docker facilitates the development of Laravel applications by eliminating the need to manually install and configure Laravel's dependencies, such as PHP andweb servers(Apache or Nginx). All ...
If you're running a Laravel application in the 5's, have a legacy application bootstrapped inside Laravel, don't have any tests, or are staring in silent terror at just how long ago your production server's PHP version hit its end-of-life, this post is f
Step 1: Update System Packages To install the latest version of PHP, first, you need to update your system’s package repository and install newer available packages using thednf command. sudo dnf update Update System Packages Step 2: Enable EPEL Repository in RHEL ...
Learn how to deploy Laravel: 1. Choose the right VPS provider 2. Prepare the server for deployment 3. Deploy the application + more.
Laravel has a function to overcome the problem it's just important to understand when to use it. So the solution in this situation would be. App\Models\User::where('active', true) ->chunkById(200, function ($users){ foreach($users as $user){ ...