Git Product home page Git Product logo

phpsog's Introduction

phpsog - PHP Static Output Generator

The software is published under the MIT License (see LICENSE).

This is a very early release.

Marc Ermshaus <[email protected]>


Take a look at webdevbuch <https://github.com/mermshaus/webdevbuch> to see how
phpsog may be used as a build tool within a project. A live version of the
compiled project is available at <http://buch.ermshaus.org/>.

If phpsog is not what you are looking for, you might want to try Victor
Farazdagi’s phrozn <http://www.phrozn.info/>.


Setup
-----

This step is needed to set up your phpsog distribution. phpsog uses Composer
<http://getcomposer.org/> and Packagist <http://packagist.org/> for dependency
management.

    Note: Composer is a lightweight project-based package manager for PHP. That
    basically means two things:

    (1) You don’t have to install Composer on your system. It’s just a single
        .phar file you put in your project directory and it will work within
        that directory. There are no global implications of any kind. Also,
        Composer is not meant to be deployed to a production system. It is
        nothing but a setup tool.

    (2) „Composed“ projects have no global dependencies. Just upload the files
        generated by Composer to your web space. It will work like everything
        else without any additional demands to the environment.

Run the following commands from the project’s root directory to install the
dependencies. They will be written to the ./vendor subdirectory.

    $ curl -s http://getcomposer.org/installer | php
    $ php composer.phar install

All depedencies are listed in ./composer.json.


Compile the documentation
-------------------------

phpsog comes bundled with the source files for its documentation website. Run
the following command from the root directory to create the website in
./export/phpsogdoc.

    $ ./phpsog --project-dir=demos/phpsogdoc build

phpsog's People

Contributors

basti1253 avatar mermshaus avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.