Download the PHP package yproximite/pr-review-watcher without Composer

On this page you can find all versions of the php package yproximite/pr-review-watcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pr-review-watcher

PRReviewWatcher

Scrutinizer Code Quality Latest Stable Version Total Downloads Latest Unstable Version License

  1. What the purpose of this project ?
  2. Screenshots
  3. How to install the project
  4. Configuration
    1. Security
    2. Credential
    3. Project
    4. Vhost

Native Github Support

A few month ago, Github released a new feature that supports pull request templates. You should checkout the Documentation and see if it suits your need.

What the purpose of this project ?

The PR Review Watcher will post a list of checks you've defined as a Pull Request comment when a new pull request is created

The project can save you time when it comes to pull request reviews:

The list of checks are fully customizable. No github credential's needed (just tokens, which are more secure).

Screenshots

Example webinterface

Example markdown editor

Example pull request comment

How to install the project

Simply install the project via composer: composer require yproximite/pr-review-watcher

Configuration

Security

Enter your desired login/sha1 password inside the file config/config.yml (cp config/config.yml.example to config/config.yml in order to access to the application.

You can generate your sha1 password at sha1.

Credential

First of all, you'll need a Github Token in order to post comments.

Check out the GitHub documentation to see how to create one.

Project

Then you add a project you want to hook into. Configure Github webhook by following this example :

You can configure when to post comment on new pull request:

Vhost

nginx example:

server {
    listen  80;
    server_name your.domain.name;

    access_log  /var/log/nginx/pr_watcher.access.log;
    error_log   /var/log/nginx/pr_watcher.error.log;

    root path/of/project/web;
    index index.php;

    location ~ /\.ht {
        deny all;
    }

    location ~ \.php$ {
        fastcgi_index index.php;
        fastcgi_split_path_info ^(.+\.php)(.*)$;
        include fastcgi_params;
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;   
    }

    location / { 
        try_files $uri $uri/ /index.php?$query_string;
    }
}

All versions of pr-review-watcher with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
silex/silex Version ~1.3
guzzlehttp/guzzle Version ~6.0
doctrine/dbal Version ~2.4
twig/twig Version ~1.16
symfony/twig-bridge Version ~2.7
symfony/form Version ~2.7
symfony/translation Version ~2.7
symfony/config Version ~2.7
symfony/validator Version ~2.7
symfony/security-csrf Version ~2.7
symfony/var-dumper Version ~2.7
symfony/security Version ~2.7
symfony/yaml Version ~2.7
deralex/yaml-config-service-provider Version ~1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package yproximite/pr-review-watcher contains the following files

Loading the files please wait ....