sohophp / sofinder-laravel
Laravel 12/13 bridge for SoFinder
Requires
- php: ^8.2
- illuminate/auth: ^12.0 || ^13.0
- illuminate/bus: ^12.0 || ^13.0
- illuminate/cache: ^12.0 || ^13.0
- illuminate/console: ^12.0 || ^13.0
- illuminate/contracts: ^12.0 || ^13.0
- illuminate/http: ^12.0 || ^13.0
- illuminate/routing: ^12.0 || ^13.0
- illuminate/session: ^12.0 || ^13.0
- illuminate/support: ^12.0 || ^13.0
- nyholm/psr7: ^1.8
- psr/event-dispatcher: ^1.0
- psr/http-factory: ^1.1
- psr/log: ^3.0
- sohophp/sofinder-http: v1.5.2
- symfony/http-foundation: ^7.2 || ^8.0
- symfony/psr-http-message-bridge: ^7.2 || ^8.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
- sohophp/sofinder-legacy: *
Replaces
None
README
Laravel 12/13 service provider and HTTP adapter for the shared SoFinder Core and HTTP packages. It is a supported full-stack bridge on PHP 8.2–8.5 for Laravel 12 and PHP 8.3–8.5 for Laravel 13.
composer require sohophp/sofinder-laravel:^1.1
The bridge registers the browser and canonical endpoint catalog below
/sofinder, uses Laravel Auth/Gate and session CSRF services, and converts
Illuminate requests and responses at the PSR-7 boundary. Protected routes deny
access unless the host application defines the corresponding sofinder.* Gate
abilities. Operational state for chunk sessions, maintenance claims, metrics,
malware status and document-preview jobs uses Laravel's configured Cache
repository and atomic locks. The default Cache store is selected unless
cache_store names another store; a driver without atomic-lock support fails
application bootstrap. cache_prefix, cache_lock_seconds and
cache_lock_wait_seconds tune isolation and lock behavior.
The bridge also registers sofinder:uploads:cleanup,
sofinder:trash:cleanup, sofinder:usage:recalculate and
sofinder:maintenance:status, plus the shared deploy-time
sofinder:security:audit (with optional --json output). Set the shared
maintenance.mode to messenger to dispatch maintenance through Laravel's
configured queue. document_preview.mode=auto uses the Laravel Bus when Office
preview is enabled, while messenger requires it and inline remains
synchronous; the shared configuration name stays unchanged across bridges.
Enabling shared malware_scanning wires the same fail-closed
ClamAV upload scanner and audit health check used by the Symfony bridge.
Publish host-editable configuration with
php artisan vendor:publish --tag=sofinder-config, or copy the synchronized
frontend distribution with php artisan vendor:publish --tag=sofinder-assets.
License: MIT.