Giter Site home page Giter Site logo

phrocco's Introduction

Phrocco - Literate Documentation for PHP

Phrocco is the start of a port of the rather nice literate documentation generator Docco to PHP

http://jashkenas.github.com/docco/

Installing

Best done via composer global.

composer global require rossriley/phrocco:dev-master

This will install the binary to ~/.composer/vendor/bin/phrocco.

The project is in alpha at this stage but feedback and pull requests are welcome.

Also check out the front end site http://phrocco.info/ for more instructions and example output.

phrocco's People

Contributors

kasperg avatar lsv avatar neatbasis avatar neverender avatar ofca avatar oneblackbear avatar rossriley avatar troelskn avatar xiongchiamiov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

phrocco's Issues

Pear install instructions don't quite work

┌─[jpearson@cominor] - [~/Code] - [Mon Sep 12, 08:55]
└─[$]> pear install oneblackbear.pearfarm.org/phrocco-0.2.5
Attempting to discover channel "oneblackbear.pearfarm.org"...
downloading channel.xml ...
Starting to download channel.xml (762 bytes)
....done: 762 bytes
Channel "oneblackbear.pearfarm.org" is not initialized, use "pear channel-discover oneblackbear.pearfarm.org" to initializeor pear config-set auto_discover 1
unknown channel "oneblackbear.pearfarm.org" in "oneblackbear.pearfarm.org/phrocco-0.2.5"
invalid package name/package file "oneblackbear.pearfarm.org/phrocco-0.2.5"
install failed

As the output says, I had to use channel-discover first.

PHAR package

It will be good, if you will have a phar version of phrocco on your site(http://phrocco.info/).

I wrote simple script for building phar archive:

<?php
$package = new Phar(__DIR__ . '/phrocco.phar');

$includes = [
    'lib/.*',
    'vendor/.*',
    'phrocco'
];

$regexp = '#^' . implode('|', $includes) . '$#';

$package->buildFromDirectory(__DIR__, $regexp);

$package->setStub($package->createDefaultStub('phrocco'));
$package->compressFiles(Phar::BZ2);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.