freddie

(β˜… 104)

A Mercure Hub, written in PHP (8.1 + ReactPHP)

  • .env
  • .env.test
  • .gitattributes
  • .gitignore
  • composer.json
  • phpcs.xml.dist
  • phpstan.dist.neon
  • phpunit.dist.xml
  • README.md
  • symfony.lock

# Installation Guide

1. Get the code
git clone https://github.com/bpolaszek/freddie

Downloads the entire project code from GitHub to your computer.

cd freddie

Moves into the project folder you just downloaded.

2. PHP (Composer)

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • PHP A PHP runtime is required.
  • Composer The package manager used to install PHP libraries.
composer create-project freddie/mercure-x freddie && cd freddie

Type this command into your terminal and run it.

composer req freddie/mercure-x

Type this command into your terminal and run it.

composer tests:run

Type this command into your terminal and run it.

composer ci:check

Type this command into your terminal and run it.

βœ… Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.

Pulled directly from this repo's README.

// repository documentation