~/talk

Unveiling Laravel Prompts

Talkat Laracon US 2023 · 2023-07-19..07-20· [php, developer-experience]
slides:none on file

A new PHP package, Laravel Prompts, creates richer CLI inputs than Symfony Console by adding functions like text with placeholder and live validation, suggest component for autocomplete and a search that queries Eloquent and returns IDs. It adds password, confirm, select, multi-select with hjkl navigation, plus callback validation and customizable errors. Commands like artisan make, vendor:publish and the Laravel installer already use it; it falls back to Symfony on non‑WSL Windows, ships with Laravel soon, and demos show it working reliably.

AI-written summary · about

  1. 0:00Introduction to Laravel Prompts
  2. 1:46Text input comparison
  3. 2:33New text prompt features
  4. 6:45Password input demo
  5. 7:48Confirmation prompts
  6. 9:38Single choice selection
  7. 12:27Multi-select options
  8. 15:14Auto-completion features
  9. 17:43Search component
  10. 19:57Artisan command improvements
  11. 24:11Laravel installer demo
  12. 25:56Adding prompts to custom commands
  13. 31:42Implementation and availability
  14. 32:45How prompts work technically
  15. 33:42Q&A session
~/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.