finds.dev← search

// the find

JeffreyWay/Laravel-From-Scratch-Blog-Project

★ 554 · PHP · updated Apr 2024

The completed blog demo project from Laravel 8 From Scratch.

The completed reference implementation from Jeffrey Way's Laravel From Scratch video series on Laracasts. It's a traditional blog with posts, categories, comments, and Mailchimp newsletter integration — built to illustrate Laravel 8 conventions, not to be deployed as a real product.

The Blade component structure is genuinely well-organized — the form field components under `resources/views/components/form/` show how to avoid repetitive HTML without reaching for a frontend framework. The controller separation between `PostController` and `AdminPostController` cleanly models the public/admin boundary. Factories and seeders are all wired up, so you can have realistic local data with a single `migrate --seed`. The newsletter abstraction (`Newsletter` interface + `MailchimpNewsletter` implementation) is a decent example of how to hide third-party dependencies behind a contract.

This is Laravel 8, which is several major versions behind — not something you'd start a project on today. There are essentially no real tests: both `ExampleTest.php` files are the auto-generated placeholders, which means the codebase teaches nothing about testing. The `.DS_Store` file committed to the repo root is a small but telling sign that this wasn't reviewed as a production template. No image upload handling despite the admin post form — that's the first thing anyone building a real blog would need, and it's absent.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →