Download the PHP package krma-cl/kcfinder-bootstrap5-theme without Composer

On this page you can find all versions of the php package krma-cl/kcfinder-bootstrap5-theme. 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 kcfinder-bootstrap5-theme

Bootstrap 5 Theme for KCFinder Resurrected

Leer en español

An independent, installable Bootstrap 5 theme for KCFinder Resurrected. KCFinder Resurrected continues the archived sunhater/kcfinder project originally created by Pavel Tzonkov.

This repository is a community project. It is not an official Bootstrap project and it does not replace or modify the KCFinder core.

Highlights

Compatibility

The theme does not change KCFinder's PHP requirements, authentication, uploads, permissions or security configuration.

On current KCFinder Resurrected versions, the theme reuses the folder drawer and focus management provided by the core. A compatible fallback remains available for earlier 4.x installations, so a visual theme update does not force a server-side upgrade first.

When the optional KCFinder name search is enabled in conf/config.local.php, the theme automatically styles its field, progress text, matches and result counts. Search execution and limits remain core configuration; the theme does not scan files itself.

Install

1. Obtain the theme

Download a release, or clone this repository and use the already-built dist/bootstrap5 directory.

Composer is also supported:

Copy vendor/krma-cl/kcfinder-bootstrap5-theme/dist/bootstrap5 into the KCFinder themes directory. The Laravel adapter's asset command can automate the application-side publication workflow.

For standalone Composer installations, publish it without editing either package under vendor:

Use --force for an intentional update. Publication is staged and then replaced atomically.

2. Copy the production directory

Copy the complete directory:

into the themes directory of your KCFinder installation. The resulting layout must be:

Do not copy src, scripts, node_modules or vendor to the production server.

3. Select the theme

Set the default in conf/config.php:

An integration may select it through the session instead:

The KCFinder jQuery adapter also accepts the theme option:

For a temporary test, open:

The URL option should be treated as a preview mechanism. Prefer configuration or session selection in production.

4. Customize the palette

Compatible KCFinder versions can define semantic colors in conf/config.local.php without modifying installed theme files:

KCFinder accepts only these seven names and #RRGGBB values. Invalid values are ignored and never emitted as CSS. The theme exposes --kcf-primary, --kcf-secondary, --kcf-success, --kcf-danger, --kcf-warning, --kcf-light, and --kcf-dark; derived hover, selection, and focus states use these variables.

This application-owned configuration survives Composer theme updates.

5. Clear generated theme caches

After installing or updating, remove these generated files if they exist:

KCFinder recreates them automatically. A hard browser refresh may also be required after an update.

Update

  1. Back up themes/bootstrap5 if it contains local changes.
  2. Replace it with the new dist/bootstrap5 directory.
  3. Remove the two generated cache files listed above.
  4. Reload KCFinder and test thumbnail view, list view, upload and dialogs.

Avoid editing files inside dist/bootstrap5 directly. Make source changes in src and rebuild so updates remain reproducible.

Uninstall

Change the configured theme back to default, remove themes/bootstrap5, and delete any generated theme_bootstrap5 cache files.

Development

Development requires Node.js 20 or newer and npm:

Source files live in src. The build combines them with compatibility assets under vendor/kcfinder and writes the installable package to dist/bootstrap5.

Before committing, run:

The second command confirms that the committed distribution matches the source. See CONTRIBUTING.md for the contribution workflow.

Versioning

The theme follows Semantic Versioning independently from KCFinder. Bootstrap and Bootstrap Icons versions are pinned in package.json and recorded in the changelog. Every distribution includes VERSION plus manifest.json, with the theme, Bootstrap and Bootstrap Icons versions and SHA-256 hashes for installed files.

Project lineage and credits

Maintenance and community

This official KCFinder theme is maintained by KRMA together with its community of users and contributors. KRMA provides development, coordination and infrastructure to support the project's continuity.

License

The theme is available under GPL-3.0-or-later OR LGPL-3.0-or-later, matching KCFinder's license choice. Bootstrap and Bootstrap Icons are distributed under the MIT License. See THIRD_PARTY_NOTICES.md.


All versions of kcfinder-bootstrap5-theme with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
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 krma-cl/kcfinder-bootstrap5-theme contains the following files

Loading the files please wait ...