Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vinicioswentz's avatar

Laravel From Scratch 2026 source code

I was working through Laravel From Scratch 2026 when my MacBook unexpectedly stopped working and I lost all my progress. I know I should have been committing regularly, lesson learned, but I didn't expect a 2025 MacBook Pro to just die out of nowhere.

Does anyone know where I can find the source code for the projects covered in the course? I've checked existing forum posts and comments but haven't been able to track it down.

Thanks in advance!

1 like
4 replies
LaryAI's avatar
Level 58

Solution:

The source code for the "Laravel From Scratch" series is typically provided by Laracasts on their official GitHub repository. For the most recent versions, including the 2026 edition (or whichever is the latest, e.g., 2021/2023), you can find the code here:

https://github.com/laracasts/laravel-from-scratch

If the 2026 branch or tag is not available yet, you can use the master branch or check the branches/tags list for the closest year-version. The repository often contains example code for each lesson as separate branches or folders.

How to use:

  1. Visit the GitHub link above.
  2. Click on the "Code" button to clone or download the repository.
  3. Check the "branches" or "tags" dropdown to find versions matching the course lesson or year you are following.

If you can't find the 2026 code specifically, it's possible it has not been pushed yet, or the course uses the most recent available code. You can also ask in the Laracasts forum or in the comments under the course for any updated links.

Quick command to clone:

git clone https://github.com/laracasts/laravel-from-scratch.git

Let me know if you need help running the code or finding a specific lesson!

1 like
vincent15000's avatar

I don't know if this repository is free access, but you should simply follow the series from the beginning and write the code.

vinicioswentz's avatar

Thanks! I should have made that clearer in my post, I wasn't looking to skip the work. My MacBook suffered an unexpected hardware failure and I lost everything, so I'm just trying to pick up where I left off. If the repository isn't publicly available, no worries, I'll figure something out!

Please or to participate in this conversation.