Download the PHP package deepcube/handoff-image-upload without Composer
On this page you can find all versions of the php package deepcube/handoff-image-upload. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download deepcube/handoff-image-upload
More information about deepcube/handoff-image-upload
Files in deepcube/handoff-image-upload
Package handoff-image-upload
Short Description A powerful Filament component for image uploads with camera capture, QR code sharing, and temporary file management for Laravel applications
License MIT
Homepage https://github.com/deepcube-srl/handoff-image-upload
Informations about the package handoff-image-upload
Handoff Image Upload
A Filament component for image uploads with support for camera, QR Code, and direct upload. Allows users to upload images directly from the current device or using a QR Code to upload from a mobile device.
Features
- Filament Integration: Native component for Filament Forms
- Multiple Upload Methods: Direct upload, camera capture, or via QR Code
- Temporary Management: Automatic handling of temporary images
- Multilingual: Support for customizable translations
- Cleanup Command: Automatic command to clean temporary images
Installation
Install the package via Composer:
Run the migrations:
Publish the configuration files (optional):
Publish the views (optional):
Filament Forms Integration
To use the component in a Filament form, add the field to your Form Schema:
Complete Resource Example:
Temporary Images Cleanup Command
The package includes a command to automatically clean temporary images:
Basic Usage
Available Options
Automation with Task Scheduler
Add the command to your app/Console/Kernel.php to run it automatically:
Translations
Publishing Translation Files
To customize translations, publish the language files:
Translation files will be published to lang/vendor/handoff-image-upload/.
Translation Structure
The package includes translations for:
- English (
en/handoff-image-upload.php) - Italian (
it/handoff-image-upload.php)
Adding New Languages
-
Create a new folder for the language in
lang/vendor/handoff-image-upload/: -
Copy the English file as a base:
- Translate the strings in the new file:
Customizing Existing Translations
After publishing the translations, you can modify the files in lang/vendor/handoff-image-upload/ to customize the messages according to your needs.
Usage
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.