laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

Maintainers

👁 taylorotwell

Package info

github.com/laravel/prompts

pkg:composer/laravel/prompts

Statistics

Installs: 209 655 557

Dependents: 619

Suggesters: 6

Stars: 715

Open Issues: 13

v0.3.18 2026-05-19 00:47 UTC

Requires

Requires (Dev)

Suggests

  • ext-pcntl: Required for the spinner to be animated.

Provides

None

Conflicts

Replaces

None

MIT a19af51bb144bf87f08397921fa619f85c7d4e72

This package is auto-updated.

Last update: 2026-06-17 22:24:25 UTC


README

👁 Prompts Logo Dark Mode
👁 Prompts Logo Dark Mode

👁 Build Status
👁 Total Downloads
👁 Latest Stable Version
👁 License

Introduction

Laravel Prompts is a PHP package for adding beautiful and user-friendly forms to your command-line applications, with browser-like features including placeholder text and validation.

Laravel Prompts is perfect for accepting user input in your Artisan console commands, but it may also be used in any command-line PHP project.

Official Documentation

Documentation for Laravel Prompts can be found on the Laravel website.

Contributing

Thank you for considering contributing to Laravel Prompts! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

Laravel Prompts is open-sourced software licensed under the MIT license.