<commit_before># phar-site-generator

`phar-site-generator` is a tool that generates an HTML page and an RSS feed for a PHAR repository. It makes the following assumptions:

* The PHAR repository directory contains `.phar` (PHP Archive) and `.phar.asc` (GPG signature) files
* The latest release of a package (`package-x.y.z.phar`, `package-x.y.z.phar.asc`) is symlinked (`package.phar`, `package.phar.asc`)
* The output of `package-x.y.z.phar --manifest`, if that option is available, is used as the manifest information for that package's release
* The PHAR repository is hosted using HTTPS

## 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 three arguments:

* The domain where the PHAR repository is hosted
* The PHAR repository administrator
* The path where the `*.phar` and * *.phar.asc` files are located and the site is generated

Here is the command use to generate [phar.phpunit.de](https://phar.phpunit.de/)

    php phar-site-generator.phar phar.phpunit.de \
                                 <EMAIL> \
                                 /webspace/phar.phpunit.de/html

<commit_msg>Fugbix typo<commit_after># phar-site-generator

`phar-site-generator` is a tool that generates an HTML page and an RSS feed for a PHAR repository. It makes the following assumptions:

* The PHAR repository directory contains `.phar` (PHP Archive) and `.phar.asc` (GPG signature) files
* The latest release of a package (`package-x.y.z.phar`, `package-x.y.z.phar.asc`) is symlinked (`package.phar`, `package.phar.asc`)
* The output of `package-x.y.z.phar --manifest`, if that option is available, is used as the manifest information for that package's release
* The PHAR repository is hosted using HTTPS

## 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 three arguments:

* The domain where the PHAR repository is hosted
* The PHAR repository administrator
* The path where the `*.phar` and * *.phar.asc` files are located and the site is generated

Here is the command used to generate [phar.phpunit.de](https://phar.phpunit.de/)

    php phar-site-generator.phar phar.phpunit.de \
                                 <EMAIL> \
                                 /webspace/phar.phpunit.de/html


{'fraction_non_alphanumeric': 0.10217308425467023, 'fraction_numerical': 0.0, 'mean_word_length': 3.287581699346405, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7330190', 'n_tokens_mistral': 808, 'n_tokens_neox': 780, 'n_words': 293}