{"repo":"vish4395/laravel-file-viewer","free":true,"listed":false,"github":"https://github.com/vish4395/laravel-file-viewer","clone":"git clone https://github.com/vish4395/laravel-file-viewer.git","description":"Laravel File Viewer is the easiest way to preview images, videos, audio, PDF, DOCX, PPTX, XLSX, and more in your Laravel app. Instantly add beautiful file previews to your admin panels, dashboards, or user portals.","language":"JavaScript","stars":182,"topics":[],"license":"MIT","category":"dashboards-admin","readme_excerpt":"🖼️ Laravel File Viewer Laravel File Viewer is the easiest way to preview images, videos, audio, PDF, DOCX, PPTX, XLSX, CSV, and more in your Laravel app. Instantly add beautiful file previews to your admin panels, dashboards, or user portals — with zero configuration required. --- ✨ Loved by developers. Easy to install. Works out of the box. --- 🚦 Features - 📄 Preview images, videos, audio, PDF, DOCX, PPTX, XLSX, CSV, plain text, JSON, and archives - ⚡️ Super simple integration — one method call in your controller - 🎨 Customizable UI — publish and tweak the views - 🛡️ Secure: validates file existence via Laravel's storage disks; DOCX frame route uses signed URLs - 🔧 Configurable toolbar (download, open in new tab, copy link, fullscreen) - 🌍 Multilingual ready - 🔌 Auto-discovered — no manual registration required in Laravel 11+ --- 📋 Requirements - PHP 8.2+ - Laravel 11, 12, or 13 --- 🛠️ Installation Install via Composer: Publish the assets (required): Publish the config (optional): Publish views for UI customization (optional): --- 🚀 Quick Start The package is auto-discovered in Laravel 11+. No manual provider or alias registration needed. Example Controller Add a route in routes/web.php : LaravelFileViewer::show() Parameters Parameter Type Default Description ------------ --------------- ------------ -------------------------------------------------- fileName string — Display name for the file filePath string — Path relative to the storage disk fileUrl string — Pu","default_branch":null,"files":null,"tree":[],"storefront":"/r/vish4395","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vish4395/laravel-file-viewer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}