Categories
Laravel Tutorial

How to secure internal Laravel API routes without Airlock or Passport

Why? I’m building a Laravel application with Vue inside the application–not Vue as a seperate SPA. I will not be making any external API calls to my Laravel app–only internal calls. With a fresh Laravel installation, I cannot use api.php routes without token authentication setup. Try requesting “/api/user” and despite being authenticated via the web […]

Categories
Laravel Tutorial

How to Configure Laravel Dusk ChromeDriver

Why? When I set out to build a simple website crawler with Laravel I started from scratch using Guzzle. I needed to input a website URL and generate a sitemap with every link that belonged to the same URL. I accomplished this, but it was finicky because of Guzzle’s inherent limitations as an HTTP client. […]