There have been so many times that I create a new Laravel application and I start putting routes into my
routes\api.php file and try to hit that route and get the dreaded
This message seems so counter-intuitive since Laravel ships with code that makes it seem like it would already be taken care of for you. Like this in
let token = document.head.querySelector('meta[name="csrf-token"]');
This code puts the required CSRF token into the headers of axios to authenticate your request. But this isn’t enough to get up and running. We’ll use Laravel Passport to finish the job.
I recently switched back to running Windows from Ubuntu on my work computer. When I was running Ubuntu I used a fork of Laravel Valet which worked great. Now that I’m back on Windows I knew I wanted to setup Homestead again since I had issues running the Windows fork of Valet due to DNS configuration at my office.
I decided that I’d setup Homestead and try to automate creating a new site as much as possible. …
Today I was approached with some Apache log files from the whole month of September and asked if I could help get them to into something that would help visualize them & make them searchable.
Given that it took me longer than it might have if there was a guide out there I decided to write one. Hopefully this helps someone out there with a similar task.
Note: This guide outlines my steps using Windows…
Christ Follower, Husband, Father, Laravel Lover, Coder, IT Professional