Build SSH Apps with PHP and Laravel Prompts

The ssh-php project by Sam Carré is a ridiculously simple starting point for building Text-based User Interfaces (TUIs) in PHP over SSH:

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

The ssh-php project uses Laravel Prompts, Chewie, and Docker to give you a foundation for developing and deploying TUIs over SSH using PHP. Running applications with Docker simplifies running an SSH server and includes a deployment script to run the Docker image on your server easily. During development, you can use the following commands to run and connect to the containerized app:

composer run-dev
ssh localhost -p 2201

Connecting via SSH with the starter project, you'll see a prompt asking you to enter your name:

You can learn more about this package, get full installation instructions, and view the source code on GitHub. Also, be sure to check out the readme for links to useful resources to help you get started!


The post Build SSH Apps with PHP and Laravel Prompts appeared first on Laravel News.

Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.

Read more

© 2025 Extly, CB - All rights reserved.