PHPackages                             minimalic/silverstripe-bootloader - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. minimalic/silverstripe-bootloader

ActiveSilverstripe-vendormodule

minimalic/silverstripe-bootloader
=================================

Bootstrap extension for custom 'main' theme for Silverstripe CMS 5

1.0.0(2y ago)09BSD-3-ClauseSCSS

Since Apr 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/minimalic/silverstripe-bootloader)[ Packagist](https://packagist.org/packages/minimalic/silverstripe-bootloader)[ RSS](/packages/minimalic-silverstripe-bootloader/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Silverstripe BootLoader - a Bootstrap Loader
============================================

[](#silverstripe-bootloader---a-bootstrap-loader)

Silverstripe BootLoader is an extension designed to seamlessly integrate Bootstrap 5 framework files into Silverstripe projects. It injects CSS and JS into your website's requirements. It's allowing styling of Bootstrap by injecting your own SCSS's with variables and overrides.

Bootstrap version included: `5.3.3`

Requirements
------------

[](#requirements)

- Compatible with Silverstripe versions 4 and 5
- Optionally (for customization and compiling) a theme named `main`

Installation
------------

[](#installation)

Install using Composer:

```
composer require minimalic/silverstripe-bootloader
```

Refresh your database by navigating to your website's root directory in the shell and running: `vendor/bin/sake dev/build "flush=all"`

Or use your base URL with: `/dev/build?flush=all`

Customization
-------------

[](#customization)

### About customization

[](#about-customization)

The customization step is optional. You can override standard [Bootstrap variables](https://github.com/twbs/bootstrap/tree/v5.3.3/scss) with `_bs-variables.scss` inside your `themes/main/scss/` directory.

Warning

Customization may modify all of your CSS files inside `themes/main/css/` (if any) by using `css-prefix` and other tools needed to compile Bootstrap.

### Getting tools

[](#getting-tools)

If you need to inject your own Bootstrap variables and overrides, you should start with installing `sass`, `nodemon` and `postcss` using `npm`.

### Required SCSS theme files

[](#required-scss-theme-files)

Compiling requires these three files in your `themes/main/scss/` directory:

- `_bs-variables.scss`
- `_bs-variables-end.scss`
- `style.scss`

The first one will be loaded at the beginning right after `@import "functions";` and the second one after all other Bootstrap modules. You can create variables overrides inside the SCSS files.

The `style.scss` is your own theme stylesheet.

### Compiling custom Bootstrap

[](#compiling-custom-bootstrap)

Now you can compile new customized Bootstrap CSS file using:

```
cd vendor/minimalic/silverstripe-bootloader/client/src/
npm run-script watch
```

or alternatively from Silverstripe's root directory:

```
npm --prefix ./vendor/minimalic/silverstripe-bootloader/client/src/ run-script watch
```

A new `bootstrap-custom.css` will be generated (and overwritten) inside your `themes/main/css/` directory.

The original `bootstrap.min.css` will automatically get replaced by your customized and compiled Bootstrap version.

### Compiling custom theme CSS

[](#compiling-custom-theme-css)

The `run-script watch` will also monitor and compile your own SCSS file named `style.scss` located at `themes/main/scss/` into `themes/main/css/`. Your existing `themes/main/css/style.css` (if any) will be overwritten.

License
-------

[](#license)

See [License](LICENSE)

Copyright (c) 2024, minimalic.com - Sebastian Finke All rights reserved.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

766d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5a179665a0838e9e3dd012106ebefb73b9f83b25c896f0b105100d3c4e6defa9?d=identicon)[minimalic](/maintainers/minimalic)

---

Top Contributors

[![minimalic](https://avatars.githubusercontent.com/u/18061991?v=4)](https://github.com/minimalic "minimalic (10 commits)")

---

Tags

bootstrapbootstrap-5bootstrap5silverstripe-modulesilverstripethemebootstrapcss framework

### Embed Badge

![Health badge](/badges/minimalic-silverstripe-bootloader/health.svg)

```
[![Health](https://phpackages.com/badges/minimalic-silverstripe-bootloader/health.svg)](https://phpackages.com/packages/minimalic-silverstripe-bootloader)
```

###  Alternatives

[unclecheese/bootstrap-forms

Allows you to create forms in SilverStripe that are compatible with Twitter Bootstrap.

5539.4k](/packages/unclecheese-bootstrap-forms)[entidi/silverstrap

A Silverstripe theme based on Bootstrap front end framework

111.4k1](/packages/entidi-silverstrap)[feejin/silverstripe-securitytemplates

Custom security templates to mirror CMS

128.1k1](/packages/feejin-silverstripe-securitytemplates)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
