Skip to content

Laurianti/headless-chromium-php-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

How it Works

This example lets you start playing with chrome/chromium in headless mode from PHP with Docker.

Forked from https://github.com/mfieldhouse/docker-php-helloworld

Used Chrome PHP library (installed with Composer) https://github.com/chrome-php/headless-chromium-php

Setup

  • git clone https://github.com/Laurianti/headless-chromium-php-docker
  • cd headless-chromium-php-docker/
  • docker build -t headless-chromium-php-docker .
  • docker run --privileged -d -p 12080:80 headless-chromium-php-docker
  • curl http://127.0.0.1:12080/

What You Should See

"Hello, World!" program - Wikipedia

About

Control Chrome from PHP with Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 62.5%
  • PHP 37.5%