Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

phar-site-generator

phar-site-generator is a tool that generates an HTML page (example), RSS feed (example), and Phive metadata (example) for a PHAR repository.

This tool makes the following assumptions:

  • The PHAR repository is hosted using nginx
  • The PHAR repository is hosted using HTTPS
  • The PHAR repository directory contains .phar (PHP Archive) and .phar.asc (GPG signature) files
  • 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

Usage

We distribute a PHP Archive (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 version="1.0" encoding="UTF-8"?>
<phar-site>
    <domain>phar.phpunit.de</domain>
    <email>sebastian@phpunit.de</email>
    <directory>/webspace/phar.phpunit.de/html</directory>
    <nginx>/webspace/phpunit.de/phar/redirects.conf</nginx>
</phar-site>

About

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

Resources

License

Sponsor this project

 

Packages

No packages published

Languages

You can’t perform that action at this time.