Search by

entoknakal / file-picker

entoknakal

Native document/file picker plugin for NativePHP Mobile v4

Package info

github.com/entoknakal/file-picker

Type:nativephp-plugin

pkg:composer/entoknakal/file-picker

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.1 2026-09-18 09:14 UTC

This package is auto-updated.

Last update: 2026-09-18 09:18:45 UTC


README

FilePicker plugin for Android only

Installation

  1. Install file-picker
composer require entoknakal/file-picker
  1. Ensure you have published the NativeServiceProvider:
php artisan vendor:publish --tag=nativephp-plugins-provider
  1. Register the plugin
php artisan native:plugin:register entoknakal/file-picker
  1. Check that NativePHP sees the plugin
php artisan native:plugin:list

Usage

use entoknakal\FilePicker\Facades\FilePicker;

// Execute functionality
$files = FilePicker::open([
    'types' => ['image/*', 'application/pdf'],
]);

if (!empty($files)) {
    $path =$files[0]['path'];
    $name =$files[0]['name'];
}

License

MIT