Download the PHP package lacv/pipo-scanner without Composer

On this page you can find all versions of the php package lacv/pipo-scanner. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pipo-scanner

Pipo Scanner

A professional document scanner component for Filament v3/v5, powered by OpenCV.js and jscanify.

Capture documents directly from the device camera, auto-detect edges, adjust corners, apply filters, and save as a multi-page PDF — all from the browser, with zero native dependencies.

Ready Editor Filter Saved

Features


Requirements

Dependency Version
PHP ^8.1
Laravel ^10.0 | ^11.0 | ^12.0 | ^13.0
Filament ^3.0 | ^5.0
Livewire ^3.0

Note: Camera access requires HTTPS (or localhost). Plain HTTP over LAN will not expose navigator.mediaDevices in most browsers.


Installation

1. Install via Composer:

2. Publish the JS asset (required):

This copies jscanify.js to public/vendor/pipo-scanner/jscanify.js.

3. Optionally publish the config:


Register the Plugin

In your panel provider (e.g. app/Providers/Filament/AdminPanelProvider.php):


Usage

Recommended: ScannerField (native Filament field)

Drop it directly into your form schema — no extra boilerplate needed. The field state (file path) is handled automatically by Filament, just like any other field.

In edit mode the field reads its own state ($record->document_path) and shows the existing document automatically — no extra code needed.

Available options

Method Default Description
->disk('s3') config('pipo-scanner.disk') Storage disk
->directory('contracts/2026') config('pipo-scanner.directory') Upload subdirectory
->maxFileSize(8 * 1024 * 1024) config('pipo-scanner.max_file_size') Max upload size in bytes
->height(450) 580 Scanner panel height in px

Full example:


Legacy: ViewField (manual wiring)

The original approach is still supported for backward compatibility.

It communicates back to Livewire via two mechanisms:

  1. Calls $wire.setScannerDocumentPath(path) on the Livewire component.
  2. Dispatches a browser event scanner-saved with { path, url }.

Step 1 — Add a method to your Livewire page/resource:

Step 2 — Add the field to your form schema:

Step 3 — Pass existing document in edit mode:


How It Works


Events

Browser event

After a successful save the component dispatches:

Listen to it with Alpine.js:

Livewire method

The component automatically calls $wire.setScannerDocumentPath(path) on the parent Livewire component. Just define the method on your page/component:


Configuration

After publishing the config file (config/pipo-scanner.php):

Or via .env:


Mobile Considerations


Customizing the View

To override the default view, publish it:

The view will be copied to resources/views/vendor/pipo-scanner/components/scanner.blade.php.


Credits


License

MIT — see LICENSE file.


All versions of pipo-scanner with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
filament/filament Version ^3.0|^5.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package lacv/pipo-scanner contains the following files

Loading the files please wait ...