PHPackages                             richardpayment/satis-hook - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. richardpayment/satis-hook

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

richardpayment/satis-hook
=========================

06PHP

Since Aug 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/richardpayment/satis-hook)[ Packagist](https://packagist.org/packages/richardpayment/satis-hook)[ RSS](/packages/richardpayment-satis-hook/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

ShopenGroup/SatisHook
=====================

[](#shopengroupsatishook)

[![Build Status](https://camo.githubusercontent.com/87d5f5b6056f319ea0b2f9577cd53c49489f7313f3585703e956b8363bb511c6/68747470733a2f2f7472617669732d63692e6f72672f73686f70656e2d67726f75702f73617469732d686f6f6b2e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/shopen-group/satis-hook)

Simple app for rebuilding [composer/satis](https://github.com/composer/satis) via webhook.

- No database required

Install
-------

[](#install)

### Install composer package

[](#install-composer-package)

```
composer require shopen-group/satis-hook dev-develop
```

### Create config

[](#create-config)

```
# config.yaml
secret:
  enabled: true # secret token is enabled
  location: param # location of "secret" parameter (param|header)
  value: veslo # secret value
  name: key # secret parameter name

satis:
  php: /usr/bin/php
  bin: ../satis/bin/satis
  config: ../satis.json
  output: ../web
```

### Create entrypoint

[](#create-entrypoint)

Our entrypoint will be `hook.php` which is publicly accessible via HTTP.

ApplicationFactory::createApplication has three parameters. You can customise the first two of them.

- path to config.yaml
- path to **writable** TEMP folder (for storing requests)

```
