Tag: Laravel

Using Docker with Laravel
July 21st, 2019When developing on a Laravel project I've used Homebrew for my web server and database, or used a Vagrant box. Whilst these work well most of the time there's an alternative that is quickly becoming the de-facto standard: Docker. Fortunately, getting Laravel to work with Docker is quite straightforward.
Laravel: Update created_at and updated_at timestamps manually
August 30th, 2022Ever needed to manually set the `created_at` and `updated_at` fields in a Laravel Model? By default the `updated_at` field will be overridden with the current date and time. To get around this you need to pass `false` to the `timestamps` key when saving the model.

Laravel File Upload fails with "The file failed to upload."
September 11th, 2024How to fix "The file failed to upload" issues with Laravel.