Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sebastianbergmann/phar-site-generator

A tool that generates an HTML page, RSS feed, and Phive metadata for a PHAR repository
https://github.com/sebastianbergmann/phar-site-generator

Last synced: about 1 month ago
JSON representation

A tool that generates an HTML page, RSS feed, and Phive metadata for a PHAR repository

Awesome Lists containing this project

README

        

# phar-site-generator

`phar-site-generator` is a tool that generates an HTML page ([example](https://phar.phpunit.de/)), RSS feed ([example](https://phar.phpunit.de/releases.rss)), and Phive metadata ([example](https://phar.phpunit.de/phive.xml)) for a PHAR repository.

This tool makes the following assumptions:

* The PHAR repository is hosted using [nginx](http://nginx.org/)
* The PHAR repository is hosted using HTTPS
* The PHAR repository directory contains `.phar` (PHP Archive) and `.phar.asc` (GPG signature) files

## Usage

We distribute a [PHP Archive (PHAR)](http://php.net/phar) that has all required (as well as some optional) dependencies of phar-site-generator bundled in a single file:

```
wget https://phar.phpunit.de/phar-site-generator.phar
```

`phar-site-generator` requires an XML configuration file:

```xml

phar.phpunit.de
[email protected]
/webspace/phar.phpunit.de/html
/webspace/phpunit.de/phar/redirects.conf

```