PHPackages                             brucelampson/laravel-spark-camera - 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. [Image &amp; Media](/categories/media)
4. /
5. brucelampson/laravel-spark-camera

ActivePackage[Image &amp; Media](/categories/media)

brucelampson/laravel-spark-camera
=================================

Profile photo camera support for Laravel Spark.

2.0.0(6y ago)117MITJavaScript

Since Apr 21Pushed 6y agoCompare

[ Source](https://github.com/BruceLampson/laravel-spark-camera)[ Packagist](https://packagist.org/packages/brucelampson/laravel-spark-camera)[ RSS](/packages/brucelampson-laravel-spark-camera/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Profile Photo Camera support for Laravel Spark
==============================================

[](#profile-photo-camera-support-for-laravel-spark)

This package adds support for capturing images from your computer or phone camera.

[Demo](https://cretu-eusebiu.wistia.com/medias/j4bh66b2ey)

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

[](#installation)

- Run `composer require eusebiu/laravel-spark-camera`
- Add `Eusebiu\LaravelSparkCamera\CameraServiceProvider::class` to your `providers` array in `config/app.php`
- Run `php artisan vendor:publish --provider="Eusebiu\LaravelSparkCamera\CameraServiceProvider" --tag=assets`
- Edit `resources/views/vendor/spark/settings/profile/update-profile-photo.blade.php`:

    - Add `@include('camera::camera-modal')` right before closing the last div.
    - Add the Camera button `Camera`.
    - It should look like [this](http://i.imgur.com/SBZR9Jv.png).
- Edit `resources/assets/js/spark-components/settings/profile/update-profile-photo.js`:

    - Add `var camera = require('./update-profile-photo-camera');` at the top.
    - Change the `mixins` option to `mixins: [base, camera]`.
- Run `npm install --save webcamjs`
- Run `npm run dev`
- Edit `resources/sass/app.scss` and add the following css

    ```
    #profile-photo-camera-preview,
    #profile-photo-camera-preview video {
        width: 100% !important;
        height: auto !important;
        min-width: 100px;
        min-height: 100px;
    }
    ```

> This package uses [WebcamJS](https://github.com/jhuckaby/webcamjs), so if you want to configure it, overide the `configureWebcamjs` method in your `update-profile-photo.js` file.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 62.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~686 days

Total

3

Last Release

2301d ago

Major Versions

0.1.0 → 1.0.02016-10-29

1.0.0 → 2.0.02020-01-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/6948ce80252f12a571756169b95467a32c9d8f2d8b2ac8707217645a10752be7?d=identicon)[BruceLampson](/maintainers/BruceLampson)

---

Top Contributors

[![BruceLampson](https://avatars.githubusercontent.com/u/4557356?v=4)](https://github.com/BruceLampson "BruceLampson (5 commits)")[![cretueusebiu](https://avatars.githubusercontent.com/u/1517945?v=4)](https://github.com/cretueusebiu "cretueusebiu (3 commits)")

### Embed Badge

![Health badge](/badges/brucelampson-laravel-spark-camera/health.svg)

```
[![Health](https://phpackages.com/badges/brucelampson-laravel-spark-camera/health.svg)](https://phpackages.com/packages/brucelampson-laravel-spark-camera)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
