https://github.com/beberlei/php-rfc-watch
Interactive voting results for PHP RFC process.
https://github.com/beberlei/php-rfc-watch
Last synced: 12 months ago
JSON representation
Interactive voting results for PHP RFC process.
- Host: GitHub
- URL: https://github.com/beberlei/php-rfc-watch
- Owner: beberlei
- Created: 2015-02-25T19:48:19.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-11-09T19:11:53.000Z (over 1 year ago)
- Last Synced: 2025-03-05T17:08:34.289Z (about 1 year ago)
- Language: HTML
- Homepage: http://php-rfc-watch.beberlei.de
- Size: 4.3 MB
- Stars: 128
- Watchers: 4
- Forks: 15
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- fucking-awesome-php - PHP RFC Watch - Watch the latest PHP 🌎 [RFCs](wiki.php.net/rfc). (Table of Contents / PHP Internals Reading)
- awesome-php - PHP RFC Watch - Watch the latest PHP [RFCs](https://wiki.php.net/rfc). (Table of Contents / PHP Internals Reading)
- awesome-php - PHP RFC Watch - Watch the latest PHP [RFCs](https://wiki.php.net/rfc). (Resources / Internals Reading)
README
# PHP RFC Watch
Watches all votes on RFCs and builds a timeline of who voted +1/-1 when.
See: https://php-rfc-watch.beberlei.de/
## Installation
git clone git@github.com:beberlei/php-rfc-watch.git
cd php-rfc-watch
composer install
npm install
## Init
To quickly get going you can use sqlite as the database. For this edit the `.env` file and set:
DATABASE_URL=sqlite:///%kernel.project_dir%/var/data.db
To initalize the database schemes use:
$ php bin/console doctrine:schema:create
## Run
Open two terminals with:
$ php bin/console server:run
$ yarn encore dev --watch
Open up `http://localhost:8000`.
Import the current state by calling:
$ php bin/console php-rfc-watch:synchronize
## Run with Caddy
To run PHP RFC Watch using Caddy HTTP Server see the configuration I use to run it myself:
```
php-rfc-watch.beberlei.de {
root /var/www/phprfcwatch/web
log /var/log/caddy/phprfcwatch.log
errors /var/log/caddy/errors-phprfcwatch.log
gzip
tls off
git {
repo github.com/beberlei/php-rfc-watch
path ../../phprfcwatch
then composer install
}
fastcgi / /var/run/php/php7.0-fpm.sock php {
index app.php
}
rewrite {
to {path} {path}/ /app.php
}
}
```