---
title: "Making the CLI and Browser Talk"
url: https://daily.dev/posts/making-the-cli-and-browser-talk-lsqcvzqtg
source_url: https://fly.io/laravel-bytes/making-the-cli-and-browser-talk/
type: article
source: "Laravel Bytes"
published: 2023-11-02T13:55:41.082Z
updated: 2023-11-02T13:51:40.298Z
tags: ["cli", "laravel"]
reading_time: 7
upvotes: 6
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Making the CLI and Browser Talk

**[Laravel Bytes](https://daily.dev/sources/laravelbytes)** · 7 min read · 6 upvotes · 0 comments

## Summary

The article discusses how to make the CLI and web browser interact in a Laravel application. It explains the process of CLI authentication, creating a CLI session, and checking the session status. The article also provides instructions for adjusting the browser-based registration flow to capture the CLI session ID. The author suggests using web sockets or starting a local web server as alternative methods for CLI-browser communication.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://fly.io/laravel-bytes/making-the-cli-and-browser-talk/>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#cli](https://daily.dev/tags/cli), [#laravel](https://daily.dev/tags/laravel)

[View this post on daily.dev](https://daily.dev/posts/making-the-cli-and-browser-talk-lsqcvzqtg)
