Slide 1

Slide 1 text

Supercharging common controllers

Slide 2

Slide 2 text

Stripping controllers to the bare minimum

Slide 3

Slide 3 text

About me Freek Van der Herten Partner & developer at Spatie @freekmurze murze.be ohdear.app fullstackeurope.com

Slide 4

Slide 4 text

Open source stats ± 200 packages on Packagist ± 2,500,000 downloads a month ± 35,000,000 total downloads spatie.be/open-source/packages

Slide 5

Slide 5 text

Let's code!

Slide 6

Slide 6 text

In closing

Slide 7

Slide 7 text

Laravel view models github.com/spatie/laravel-view-models coded by @brendt_gd stitcher.io/blog/laravel-view-models stitcher.io/blog/laravel-view-models-vs-view-composers

Slide 8

Slide 8 text

Laravel Blade X github.com/spatie/laravel-blade-x coded by @brendt_gd, @alexvanderbist, @rubenvanassche, @sebdedeyne, @freekmurze murze.be/use-custom-html-components-in-your-blade-views murze.be/introducing-bladex-view-models

Slide 9

Slide 9 text

Laravel query builder github.com/spatie/laravel-query-builder extracted from client projects and maintained by @alexvanderbist alexvanderbist.com/posts/2018/builder-apis-with-laravel-query-builder

Slide 10

Slide 10 text

Resources murze.be/simplifying-controllers stitcher.io/blog/organise-by-domain github.com/adamwathan/laracon2017

Slide 11

Slide 11 text

Future github.com/inertiajs github.com/calebporzio/livewire-docs

Slide 12

Slide 12 text

Thank you! speakerdeck.com/freekmurze/controllers-laracon-madrid spatie.be/open-source murze.be ohdear.app fullstackeurope.com