finds.dev

adamwathan/laracon2017

View on GitHub

★ 502PHPupdated Feb 2018

// the take

Conference demo app for Adam Wathan's Laracon 2017 talk on keeping Laravel controllers thin by treating every discrete action as a named resource. The idea is that if you can't fit a controller action into the seven REST verbs, you probably need a new controller. It's a teaching artifact, not a library.

The core concept is genuinely useful and underused — PodcastCoverImageController and PublishedPodcastsController are concrete examples that click immediately. The refactoring steps are written up as pull requests, so you can read the diff and the reasoning together rather than just seeing the end state. The approach scales: it works in any MVC framework, not just Laravel.

Last touched in 2018 and targets Laravel 5.4; running it today requires dealing with years of dependency drift and a PHP ecosystem that has moved on. No tests, explicitly admitted in the README — fine for a demo but means you can't verify the refactoring steps didn't break something. It's a talk companion, not a maintained project, so don't open issues expecting responses. The seed data is frozen 2017 podcast metadata that no longer reflects the current podcast landscape.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
502
Forks
82
Language
PHP
Last commit
8 Feb 2018

// nearby

If laracon2017 isn't quite it.

All repos →