Download the PHP package minimalic/silverstripe-bootloader without Composer

On this page you can find all versions of the php package minimalic/silverstripe-bootloader. 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 silverstripe-bootloader

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

Installation

Install using Composer:

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

About customization

The customization step is optional. You can override standard Bootstrap variables 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

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

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

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

Now you can compile new customized Bootstrap CSS file using:

or alternatively from Silverstripe's root directory:

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

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

See License

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


All versions of silverstripe-bootloader with dependencies

PHP Build Version
Package Version
Requires silverstripe/cms Version ^4 || ^5
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 minimalic/silverstripe-bootloader contains the following files

Loading the files please wait ....