Laravel Posts
Debugging Laravel Sanctum SPA Authentication Issues
I embarked on the journey of building authentication for my Nuxt.js Single Page Application (SPA) using Laravel Sanctum, and I must admit, it wasn't all smooth sailing. The process was ...
Last updated: 12:30-am August 31, 2023
Handling Missing Route Models and fallback in Laravel
When working with Laravel's routing system, handling missing route models can be a common scenario. By default, if a route model binding fails to find a matching model instance, Laravel ...
Last updated: 8:07-pm August 29, 2023
Deploy Laravel App on DigitalOcean with Ploi
In this article, we'll explore how to deploy a Laravel app on DigitalOcean while managing the server with a tool called Ploi. DigitalOcean is a popular server provider for hosting ...
Last updated: 12:34-pm December 20, 2023
Laravel Eloquent Relationships $with Property HTTP 500 Error
Laravel's Eager loading is a technique that helps eliminate the "N + 1" query problem in relationships. By default, relationships are loaded lazily in Laravel, which can result in significant loading ...
Last updated: 1:32-pm August 31, 2023
Simulating Multiple Queue Workers in Laravel
Laravel, a popular PHP framework, provides a robust queue system that allows developers to defer the processing of tasks, such as sending emails or processing uploaded files, until a later ...
Last updated: 4:41-pm October 16, 2023
Implementing Google reCAPTCHA v3 Without Packages in Nuxt and Laravel
I wanted to implement Google reCAPTCHA to keep bots out of my project, yotjob.com. While there are packages in the Vue community like vue-recaptcha and vue-recaptcha-v3, I decided to implement ...
Last updated: 8:43-am September 24, 2024
Enhancing API Security: Laravel Policies and Frontend Integrity Hashing for SPA and Mobile Apps
When building secure applications, balancing sensitive API protection and maintaining accessibility for public features like leaderboards is critical. This challenge becomes even more complex when supporting both single-page applications (SPA) ...
Last updated: 8:32-pm December 27, 2024
Solving Duplicate Models in Laravel Eloquent Relationships
Laravel eloquent relationships provide a convenient way to define relationships between models without the need to write complex SQL joins. By leveraging the power of Eloquent, developers can easily join ...
Last updated: 2:56-am August 30, 2023
Docker for NuxtJS Development and Deployment
I've tried running Nuxt.js in a Docker container in the past, but I gave up due to its complexity. Let's be frank: running `npm run dev` in a development environment ...
Last updated: 2:28-pm May 7, 2024
Categories
Articles
Education
Finance
How To's
Immigration
Programming
Scholarship
science
Technology