Take Picture Field by EMMAN
CommunityA custom Filament form component plugin to capture photos from your device camera.
Author:
EMMAN
Package health
Automated checks of this plugin's Composer package
15 checks
- Passed: GitHub Actions pinned to SHA
- Skipped: GitLab CI includes pinned to SHA
- Passed: Open security advisories
- Passed: Dependabot PR responsiveness — No stale Dependabot PRs.
- Skipped: Renovate MR responsiveness
- Passed: Dependabot or Renovate configured
- Passed: Dependency update cooldown configured
- Passed: Provides a security policy
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Passed: Commit and release recency — Active: last commit 0 days ago; last release 171 days ago.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Passed: Dist archive is lean
-
Passed:
Current Laravel version supported
—
Package dependencies resolve together with current Laravel
13.0. -
Passed:
Current PHP version supported
—
Constraint
^8.1|^8.2|^8.3supports current PHP8.5. - Skipped: Current Symfony version supported
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
- A custom Filament form component to capture photos from your device camera.
- Features
- Requirements
- Installation
- Quick start
- Upgrading from v1.3
- Screenshots (Single Mode)
- Screenshots (Multiple Mode)
- Full Documentation
- Contributing
- License
- Get in touch
#A custom Filament form component to capture photos from your device camera.
#Features
- Capture photos directly from the user's device camera
- Seamless integration with Filament forms
- Configurable storage options: disk, directory, and visibility
- Camera selector support for devices with multiple cameras
- Adjustable aspect ratio, image quality, and maximum capture dimensions
- Multiple-shot mode with custom shot keys and labels
- Option to require all configured shots before saving
- Text-to-speech instructions for multiple-shot capture
- Support for previewing, retaking, and removing captured photos
- Camera in a modal or inline, with configurable mirroring
#Requirements
- Laravel: ^11.28, ^12, or ^13
- PHP: ^8.2
- Filament: ^4.0 or ^5.0
- A device with camera access (desktop or mobile)
#Installation
composer require emmanpbarrameda/filament-take-picture-field:^1.4
Then publish the plugin's assets (most apps already run this automatically through php artisan filament:upgrade):
php artisan filament:assets
#Filament theme setup
The field's styles are compiled by your Filament theme, so a custom theme is required. If you don't have one yet:
php artisan make:filament-theme
Add the plugin's views to your theme CSS file (e.g. resources/css/filament/admin/theme.css):
@source '../../../../vendor/emmanpbarrameda/filament-take-picture-field/resources/views/**/*.blade.php';
Then rebuild:
npm run build
#Quick start
use emmanpbarrameda\FilamentTakePictureField\Forms\Components\TakePicture;
TakePicture::make('photo')
->disk('public')
->directory('uploads/photos')
->columnSpanFull();
#Upgrading from v1.3
Run php artisan filament:assets after updating, and make sure your theme's @source line ends with resources/views/**/*.blade.php (the views are now split into subfolders). No code changes are needed.
#Screenshots (Single Mode)
#Screenshots (Multiple Mode)
#Full Documentation
Read the full installation and configuration guide here: Filament Take Picture Field Documentation
#Contributing
Contributions and pull requests for improvements are welcome!
#License
MIT
#
Get in touch
Featured Plugins
A selection of plugins curated by the Filament team
Noir Theme
A theme that gives panels a focused, refined look with near-black surfaces, crisp actions, and restrained color.
Filament
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle
Sharp Theme
A theme that gives panels a precise, technical look with square corners, strong borders, and clear contrast.
Filament