PHPackages                             technicalguru/bootstrap - 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. [Framework](/categories/framework)
4. /
5. technicalguru/bootstrap

ActiveLibrary[Framework](/categories/framework)

technicalguru/bootstrap
=======================

Provide Bootstrap to PHP apps

v1.0.0(5y ago)01.0k1LGPL-3.0-or-laterPHPPHP &gt;=7.0.0

Since Nov 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/technicalguru/php-bootstrap)[ Packagist](https://packagist.org/packages/technicalguru/bootstrap)[ RSS](/packages/technicalguru-bootstrap/feed)WikiDiscussions main Synced 1w ago

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

php-bootstrap
=============

[](#php-bootstrap)

Provides Bootstrap links for PHP apps using the [twbs/bootstrap](https://packagist.org/packages/twbs/bootstrap) module.

License
=======

[](#license)

This project is licensed under [GNU LGPL 3.0](LICENSE.md).

Installation
============

[](#installation)

By Composer
-----------

[](#by-composer)

```
composer install technicalguru/bootstrap

```

By Package Download
-------------------

[](#by-package-download)

You can download the source code packages from [GitHub Release Page](https://github.com/technicalguru/php-bootstrap/releases)

How to use
==========

[](#how-to-use)

Get the provided version number
-------------------------------

[](#get-the-provided-version-number)

```
$version = \TgBootstrap\Bootstrap::getVersion();

```

Get the URI of Bootstrap CSS stylesheet and JavaScript library
--------------------------------------------------------------

[](#get-the-uri-of-bootstrap-css-stylesheet-and-javascript-library)

The following methods will give you URIs for your further inspection:

```
use TgBootstrap\Bootstrap;

// Get URI to all minified CSS
$uri = Bootstrap::getCssUri();

// Get URI to all uncompressed grid module CSS
$uri = Bootstrap::getCssUri('grid', FALSE);

// Get URI to minified Javascript bundle
$uri = Bootstrap::getJsUri();

// Get URI to minified, normal Bootstrap Javascript
$uri = Bootstrap::getJsUri(FALSE);

// Get URI to uncompressed, normal Bootstrap Javascript
$uri = Bootstrap::getJsUri(FALSE, FALSE);

```

You can get the correct HTML tags to be included in your HTML output in the same way:

```
use TgBootstrap\Bootstrap;

// Get HTML stylesheet tag to all minified CSS
$tag = Bootstrap::getCssLink();

// Get HTML stylesheet tag to all uncompressed grid module CSS
$tag = Bootstrap::getCssLink('grid', FALSE);

// Get HTML Javascript tag to minified Javascript bundle
$tag = Bootstrap::getJsLink();

// Get HTML Javascript tag to minified, normal Bootstrap Javascript
$tag = Bootstrap::getJsLink(FALSE);

// Get HTML Javascript tag to uncompressed, normal Bootstrap Javascript
$tag = Bootstrap::getJsLink(FALSE, FALSE);

```

All methods will throw an `BootstrapException` when you ask for a non-existing library.

Contribution
============

[](#contribution)

Report a bug, request an enhancement or pull request at the [GitHub Issue Tracker](https://github.com/technicalguru/php-bootstrap/issues).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

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

2012d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6360165?v=4)[Ralph Schuster](/maintainers/technicalguru)[@technicalguru](https://github.com/technicalguru)

---

Top Contributors

[![technicalguru](https://avatars.githubusercontent.com/u/6360165?v=4)](https://github.com/technicalguru "technicalguru (5 commits)")

---

Tags

frameworkcssbootstrapresponsive

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/technicalguru-bootstrap/health.svg)

```
[![Health](https://phpackages.com/badges/technicalguru-bootstrap/health.svg)](https://phpackages.com/packages/technicalguru-bootstrap)
```

###  Alternatives

[twbs/bootstrap

The most popular front-end framework for developing responsive, mobile first projects on the web.

174.1k17.6M327](/packages/twbs-bootstrap)[twitter/bootstrap

The most popular front-end framework for developing responsive, mobile first projects on the web.

174.1k1.7M27](/packages/twitter-bootstrap)[zurb/foundation

The most advanced responsive front-end framework in the world.

29.8k380.2k15](/packages/zurb-foundation)[foundation/foundation-sites

The most advanced responsive front-end framework in the world.

29.8k8.4k](/packages/foundation-foundation-sites)[orange-opensource/orange-boosted-bootstrap

Orange Boosted with Bootstrap is a Bootstrap based, Orange branded accessible and ergonomic components library.

2148.7k](/packages/orange-opensource-orange-boosted-bootstrap)[krzysiekpiasecki/gentelella

A Symfony skeleton application with user account functionality based on the Twitter Bootstrap and Gentelella template

991.8k](/packages/krzysiekpiasecki-gentelella)

PHPackages © 2026

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