~/talk

Organizing Code in Laravel

TalkinItalianat laravelday 2020 · on Thursday, 2020-11-26· [laravel, developer-experience]
slides:none on file

Concrete Laravel code organization: shows using Composer extra for in-tree package development, an Action class pattern with dependency injection plus a simpler fast-action fallback, and a route auto-loader that generates Swagger docs automatically from controller annotations and Request::rules. The demo repo contains stepwise commits illustrating bindings via service providers, resource controller support, middleware and route-param regex, and claims the automatic documentation generation halves development time while noting DI increases instantiation cost.

AI-written summary · about

  1. 0:00Introduction
  2. 1:44Laravel playbook
  3. 2:25Vendor extras
  4. 5:41Actions and DI
  5. 8:15Service providers
  6. 13:23Caching routes removal
  7. 14:06Package route auto-load
  8. 16:36API documentation
  9. 27:16Documented controllers
  10. 30:02Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.