Sign inSign up

martijn/php-security-checker

By martijn

•Updated over 5 years ago

Wraps the Local PHP Security Checker inside a small Docker container.

Image
0

207

martijn/php-security-checker repository overview

⁠Docker PHP security checker

The Local PHP Security Checker inside a small Docker container.

⁠Check inside your development

cd /yourproject
docker run --rm -v $PWD:/app martijn/php-security-checker .

⁠Cache the vulnerability database between checks

# create a shared folder
mkdir -p ~/tmp/psc

# download the database
docker run -v ~/tmp/psc:/tmp -v $PWD:/app martijn/php-security-checker --update-cache

# project 1
docker run -v ~/tmp/psc:/tmp -v $PWD:/app martijn/php-security-checker --local
# project 2
docker run -v /shared/tmp:/tmp -v $PWD:/app martijn/php-security-checker --local
# ... etc

More information:

Tag summary

Content type

Image

Digest

Size

2.2 MB

Last updated

over 5 years ago

docker pull martijn/php-security-checker