Download the PHP package owlycode/reactboard without Composer
On this page you can find all versions of the php package owlycode/reactboard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download owlycode/reactboard
More information about owlycode/reactboard
Files in owlycode/reactboard
Package reactboard
Short Description The fast and flexible reactphp dashboard
License MIT
Informations about the package reactboard
ReactBoard
What is it ?
ReactBoard is an extensible dashboard based on React, Rachet and the Symfony Components. Install it on a server, set up the applications you wish and plug a screen !
You can interact in real time with it via an http API.
Getting started
Create a composer.json
And then execute the following commands
Now run the application with php app/app.php
When browsing http://localhost:8080/home/landing
, you should see the welcome page.
Playing around
The following applications are included : hello, prompt, twitter and vlc.
- hello is the one you are seeing by default, it's basically an hello world.
- prompt will display a single message.
- twitter will display a live updated list of tweets from a hashtag.
- vlc will display a player (your browser needs the VLC plugin) streaming from a specified source.
You can switch between applications by issuing calls to the http://localhost:8080/home/command
URL. Give a try to the following
commands and see what happens in your browser :
Before running this one, you will need to setup a twitter application and enter its credentials in app/app.php
Before running this one, make sure you have vlc installed (tested on linux & windows). Don't forget to killall vlc
when you are done.
Customize the theme
Create your own css file in app/Resources/css
and replace the default theme in app/app.php
:
Create your own application
Create an src/MyNamespace/MyAppName
folder with the following files :
Then register your newly created application in app/app.php
:
You can now start/restart ReactBoard, open your browser and try : curl "http://localhost:8080/home/command?app=my_app_name"
Going further :
ReactBoard is still in early development and more documentation will be coming. If you have any question please feel free to open an issue :-)
Meanwhile, to see how to do more advanced stuff, like loading your own assets or access the dependency injection mechanism, take a look at the builtin applications. The Twitter application is the most advanced and covers everything ReactBoard can do : application lifecycle events, live updates, dependency injection use, assets registering and many other things.
All versions of reactboard with dependencies
twig/twig Version ~1.15
symfony/event-dispatcher Version ~2.4
symfony/config Version ~2.4
symfony/dependency-injection Version ~2.4
dg/twitter-php Version ~3.3