Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

smartapps-fr/docker-phan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis Build Status Microbadger badge

docker-phan

Docker image for Phan

Inspired by cloudflare/docker-phan and mre/docker-php-phan.

Getting docker-phan

The easiest way to use docker-phan is to create a shell function for “phan” that makes makes it nearly transparent that phan is running inside Docker.

phan() { docker run -v $PWD:/mnt/src --rm -u "$(id -u):$(id -g)" smartapps/phan:latest $@; return $?; }

Running docker-phan

If you’re just getting started with Phan, you should follow Phan’s excellent [Tutorial for Analyzing A Large Sloopy Code Base][phan-tutorial] to setup the initial configuration for your project.

All of Phan’s command line flags can be passed to docker-phan.

Example

To create an “analysis.txt” in the current directory for farther processing

phan -po analysis.txt

About

Docker image for Phan

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published