Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Elfinder Builds

Elfinder Builds Laravel Package

barryvdh/elfinder-builds

Prebuilt, versioned elFinder assets for Laravel. Ships compiled JavaScript and CSS for the elFinder file manager, so you can add a browser-based file manager to your app without running the front-end build yourself.

View on GitHub
Deep Wiki
Context7

File manager for web

Frequently asked questions about Elfinder Builds
What is barryvdh/elfinder-builds and do I actually need it?
It is a Composer package that ships prebuilt elFinder 2.1 client assets: compiled JavaScript, CSS, i18n strings, themes, and sounds. It contains no PHP, no service provider, no routes, and no configuration, so it is a delivery vehicle rather than a feature. You only need it if your app genuinely requires a browser-based file manager, such as a media library, CMS media picker, or multi-volume admin console. For a simple avatar upload or presigned S3 uploads, skip it.
Does barryvdh/elfinder-builds support Laravel 10 and Laravel 11?
Because the package contains no PHP code, it is effectively agnostic to the Laravel version. Laravel compatibility is determined by the integration package you pair it with, typically barryvdh/laravel-elfinder, and that package's own version constraints. It is commonly used in Laravel 8 through 11 monoliths with Blade admin surfaces. API-only services and SPA-first front ends are a poor fit regardless of Laravel version.
How do I install barryvdh/elfinder-builds in a Laravel app?
In most cases it arrives transitively when you require barryvdh/laravel-elfinder, so you rarely install it directly. If you do need it on its own, run composer require barryvdh/elfinder-builds. Installation is quick, but remember it does not supply the connector, authorization model, volume roots, or upload policy. Those are the parts you must build and configure yourself.
Do I need Node, npm, or Vite to use this package?
No. The whole point of the package is that the elFinder front-end is already compiled, so you can serve it without adding Node or Vite to your build pipeline. That is useful for older or simpler Laravel deployments. Be aware that it introduces a jQuery and jQuery UI era front-end into a modern Vite and Tailwind estate, which should be a documented exception rather than a quiet one.
Which upstream elFinder version do these builds correspond to?
These are checked-in minified build artifacts, so the upstream Studio-42/elFinder version should be verified against the package release tag before you rely on it. Confirm the mapping is documented per release and that the assets carry license headers. Version alignment with your connector matters because mismatched client and connector versions commonly surface as invalid backend response errors after an unrelated upgrade.
Does barryvdh/elfinder-builds include the elFinder connector or backend?
No. The package only ships client-side assets; it patches nothing and provides no backend. The connector, volume roots, authorization model, and upload policy come from your integration, usually barryvdh/laravel-elfinder plus your own configuration. That connector is where most of the security and schedule risk actually lives, so budget engineering effort there.
Is barryvdh/elfinder-builds safe to run in production?
Runtime risk is low because it is only static assets, but governance risk is moderate. These are vendored minified third-party JavaScript files that are largely invisible to SCA and Dependabot until the wrapper publishes a release, so assign an owner to review updates. elFinder's CVE history clusters in the connector and client-side XSS, so harden connector configuration and content handling yourself. Also decide whether assets are committed, CDN-served from a versioned path, or rebuilt in CI.
How do I publish the elFinder assets to public/vendor/elfinder?
The publish step normally comes from the laravel-elfinder integration, not from this assets package. Running php artisan vendor:publish for that package copies the compiled bundle into public/vendor/elfinder and drops config/elfinder.php. From there you point your Blade view at the published assets. Keep the publish path versioned so upgrades do not silently overwrite customized files.
Can I use elFinder from npm or Vite instead of this Composer package?
Yes, and it is worth evaluating. Consuming elFinder directly through npm and Vite gives you explicit version pinning, visible dependency updates, and a build you control. This package mainly saves you that build step for Blade-based admin surfaces. If your app already has a modern front-end pipeline, dropping the wrapper may reduce supply-chain opacity.
How should I test a Laravel elFinder integration that uses these assets?
There is no PHP surface here, so unit tests for this package are not meaningful. Focus feature tests on the connector routes, authorization rules, path traversal defenses, and upload validation, since those are your real attack surface. Add a smoke test that confirms the published JavaScript and CSS load in the admin view. Also test a version upgrade path, because client and connector skew is the classic failure mode.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo