Slide 1

Slide 1 text

Console Facelift

Slide 2

Slide 2 text

Robin Chalas github.com/chalasr chalasr.bsky.social x.com/chalas_r PHP Consultant / Symfony Core Team / baksla.sh Co-founder

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

Eases the creation of beautiful and testable command line interfaces.

Slide 5

Slide 5 text

900M installs overall 500K daily

Slide 6

Slide 6 text

Most used PHP package in production. 6th

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

Forced Inheritance

Slide 10

Slide 10 text

All we should need

Slide 11

Slide 11 text

What we actually got

Slide 12

Slide 12 text

legacy™

Slide 13

Slide 13 text

Boilerplate

Slide 14

Slide 14 text

Lacks types

Slide 15

Slide 15 text

Commands are to Console what Controllers are to Http.

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

Fixed!

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

How cool is this?

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

How it works

Slide 24

Slide 24 text

Builds on existing infrastructure

Slide 25

Slide 25 text

The InvokableCommand wrapper

Slide 26

Slide 26 text

Conceptual differences and Limitations

Slide 27

Slide 27 text

No interact() method

Slide 28

Slide 28 text

Future scope

Slide 29

Slide 29 text

Validator Constraints Soon™

Slide 30

Slide 30 text

Command Arguments Resolvers

Slide 31

Slide 31 text

Command Arguments Resolvers

Slide 32

Slide 32 text

Adapt MakerBundle PR Welcome!™ You’ll please Ryan 🧡

Slide 33

Slide 33 text

🧡

Slide 34

Slide 34 text

🧡

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

Thank you 🍻