PHPackages                             vdechenaux/webcam - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. vdechenaux/webcam

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vdechenaux/webcam
=================

PHP code to use the server's webcam

0.1.0(6y ago)38964MITPHPPHP &gt;=7.4.0

Since Nov 1Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/vdechenaux/PhpWebcam)[ Packagist](https://packagist.org/packages/vdechenaux/webcam)[ RSS](/packages/vdechenaux-webcam/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Php Webcam
==========

[](#php-webcam)

This is a PHP library to capture webcam frames.

Demo
----

[](#demo)

You can see this library in action [here](https://github.com/vdechenaux/PhpWebcamMjpeg) with a simple Mjpeg stream implementation.

Requirements
------------

[](#requirements)

- PHP &gt; 7.4
- Ext FFI
- OpenCV (e.g. [`libopencv-videoio-dev`](https://packages.debian.org/trixie/libopencv-videoio-dev) on APT based systems, [`opencv-dev`](https://pkgs.alpinelinux.org/package/edge/community/x86_64/opencv-dev) on Alpine Linux)

Installation
------------

[](#installation)

```
composer require vdechenaux/webcam
```

Usage
-----

[](#usage)

```
