Download the PHP package jbsnewmedia/bootstrap-bundle without Composer

On this page you can find all versions of the php package jbsnewmedia/bootstrap-bundle. 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 bootstrap-bundle

Bootstrap Bundle

Packagist Version Packagist Downloads PHP Version Require Symfony Version License Tests PHP CS Fixer PHPStan Rector codecov

A lightweight Symfony bundle that helps you scaffold and compile Bootstrap SCSS with scssphp. It ships three console commands:


🚀 Features


⚙️ Requirements

Note: This is a regular Symfony bundle and expects a Symfony kernel (it is auto‑registered).


📦 Installation

Install via Composer:

If not already present, Composer will install the required packages (twbs/bootstrap, scssphp/scssphp).


📋 Usage

1) Scaffold SCSS entries

Create the default SCSS entry files under assets/scss/:

Files created:

Both entries import Bootstrap after your variable overrides in the correct order.

2) Compile SCSS → CSS

Compile with sensible defaults:

Defaults:

Readable output path can be adjusted via --output-normal.

Generate a source map:

Custom input/output paths:

3) Purge unused Bootstrap CSS (optional)

After compiling, you can purge unused selectors by scanning your templates:


🧩 Command reference

bootstrap:init

Scaffolds Bootstrap SCSS entry files.

Creates the following files in assets/scss/:

Recommended order inside the files: functions → your variable overrides → Bootstrap import.

bootstrap:compile

Compiles SCSS to CSS using scssphp.

Preconfigured include paths (in this order):

  1. vendor/twbs/bootstrap/scss
  2. vendor
  3. assets/scss
  4. assets

This allows imports like:

bootstrap:purge

Purges Bootstrap CSS by scanning your templates and keeping only the selectors that are found.

Source map behavior

When using --source-map, a map is written for each output:

Example console output:

If no map is written even though --source-map is set, please check that your SCSS source actually produces output and that the defaults were not overridden.


✍️ Example SCSS

Light (created by bootstrap:init):

Dark (created by bootstrap:init):


🧭 Troubleshooting


ℹ️ Git information


📜 License

Licensed under the MIT License. See the LICENSE file for details.

Developed by Juergen Schwind and contributors.


🤝 Contribution

Contributions are welcome! Please fork the repository and open a pull request. For larger changes, consider opening an issue first to discuss your idea.


📫 Contact

For questions or issues, please open an issue or a pull request in the repository.

— Simple Bootstrap SCSS scaffolding and compilation, Composer‑native.


All versions of bootstrap-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
jbsnewmedia/css-purger Version ^1.0
scssphp/scssphp Version ^2.0
symfony/console Version ^7.4
symfony/framework-bundle Version ^7.4
twbs/bootstrap Version ^5.3
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 jbsnewmedia/bootstrap-bundle contains the following files

Loading the files please wait ...