Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.71 KB

README.md

File metadata and controls

49 lines (35 loc) · 1.71 KB

Stream PHP Chat Tutorial

This directory contains the implementation for the How To Build a Real-Time PHP Chat App tutorial on getstream.io.

Overview

This sample project demonstrates how to build a real-time chat application using PHP as the backend and JavaScript for the frontend. The tutorial covers:

  • Setting up Stream's PHP SDK
  • Generating authentication tokens
  • Creating a chat interface
  • Sending and receiving messages in real-time
  • Implementing typing indicators and user presence

Getting Started

To run this project:

  1. Clone this repository
  2. Navigate to this directory
  3. Install dependencies:
    composer install
    
  4. Update the project with your Stream API credentials
  5. Start a PHP server:
    php -S localhost:9090
    
  6. Open your browser to http://localhost:9090/page.php

Tutorial Link

For the complete step-by-step tutorial, visit: How To Build a Real-Time PHP Chat App

Try Stream for Free

Want to build powerful chat functionality into your own PHP application?

  1. Sign up for a free Stream account - No credit card required
  2. Check out our PHP SDK documentation - Comprehensive guides
  3. Join our Discord community - Connect with other developers and the Stream team

Additional Resources