Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

PHPLoc Docker-Container

This repository holds the information required to build a Docker container that runs PHPLoc.

Limitations

Please note that you'll only be able to run phploc on directories below your current working directory since only the current working directory is being mounted as a Docker volume inside the container. (At least if you're using the alias as suggested below.)

Usage

  1. Install the pseiffert/phploc container (optional - this step is performed by Docker automatically when running the container):

     $ docker pull pseiffert/phploc
    
  2. Define an bash alias that runs this container whenever phploc is invoked on the command line:

     $ echo "alias phploc='docker run --rm -it -v \$(pwd):/opt/workspace pseiffert/phploc'" >> ~/.bashrc
     $ source ~/.bashrc
    
  3. Run phploc as always:

     $ phploc src
    
Docker Pull Command
Owner
pseiffert
Source Repository