Second Day at ENATS not officially

Hello and welcome! šŸ‘‹

I’m excited to share the details of my first day at ENATS, marking the beginning of my journey with this dynamic team.


šŸ—“️ First Day at ENATS

Date: Tuesday, June 17, 2025

Today wasn’t officially my first day, but it felt like a fresh start. I arrived at 9:30 AM and dove straight into my previous task: building an API. After a brief period, my supervisor requested my original Class 10, 12, and graduation certificates. Unfortunately, I didn’t have my graduation certificate on hand, so I provided the other two and continued my work on my personal laptop.

Later, I was issued a company laptop. While it had some performance limitations, it was functional enough to handle the tasks ahead. I began setting up the development environment.


šŸ› ️ Setting Up the Development Environment

The first step was to install PHP, XAMPP, Laravel, and Composer. During this process, I encountered several challenges, but perseverance paid off. The main hurdle was integrating Laravel Sanctum for token-based authentication.

šŸ” Laravel Sanctum Integration

Laravel Sanctum provides a simple method of authenticating Single Page Applications (SPAs) and APIs. However, I faced compatibility issues due to the version mismatch between the latest Laravel and Sanctum. The latest Laravel version has updated its authentication methods, which required additional configuration.

To resolve this, I opted to work with an older version of Laravel, as suggested by my colleagues. This version is more compatible with Sanctum and has a straightforward setup process.

Despite facing multiple issues during installation, I successfully created a project with login, logout, and registration routes by the evening. The remaining routes will be tackled tomorrow.

“Curious about setting up Laravel Sanctum or facing similar challenges? Drop a comment below, and let’s discuss!”

 

Comments

Popular Posts