Category: Software Development

  • Continuing the Journey: Bringing JWT Authentication to Life in Laravel – Part 2

    In the previous part of this tutorial series, we built a clean foundation for JWT authentication in Laravel — completely from scratch and fully under our control.
    Now it’s time to put that foundation into action.

    In Part 2, we move from theory and token generation into real authentication flow: logging users in, validating tokens, binding authenticated users to requests, and protecting API routes the clean and modern way. This is where your API stops being just “JWT-capable” and becomes a complete, stateless authentication system.

    As always, my goal is to keep things simple while still going deep enough that you understand every step and can adapt the logic to real-world applications. Whether you’re a backend developer in PHP or any other language — or even a frontend/mobile developer curious about how JWT authentication works behind the scenes — this part will give you the clarity you need.

    Just like Part 1, I’ve published the full tutorial on Medium to make it accessible for a wider community.

    You can read the full article here:
    Mastering JWT Auth in Laravel from Zero – Part 2

  • Simple Start, Deep Dive: Implementing JWT Auth in Laravel Without Packages

    As I mentioned in my very first blog post, I plan to write about technology, development, and sometimes a bit of everyday life.
    This is my first post in the development category, and, as always, I’ve tried to start simple yet go deep.

    This time, the topic is implementing JWT authentication in Laravel from scratch — without using any packages.
    Even if you’re a backend developer in another language or a frontend developer curious about how JWT works, I highly recommend reading it. The concepts are valuable no matter what stack you use.

    I’ll be publishing my development tutorials on Medium so a wider community can benefit from them.
    You can read the full article here
    Mastering JWT Auth in Laravel from Zero – Part 1