PHPackages                             krzysztofzylka/bootstrap-generator - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. krzysztofzylka/bootstrap-generator

Abandoned → [krzysztofzylka/bootstrap-generator](/?search=krzysztofzylka%2Fbootstrap-generator)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

krzysztofzylka/bootstrap-generator
==================================

Bootstrap 5.3 generator

1.0.0(3y ago)24MITPHP

Since Jan 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/krzysztofzylka/BootstrapGenerator)[ Packagist](https://packagist.org/packages/krzysztofzylka/bootstrap-generator)[ RSS](/packages/krzysztofzylka-bootstrap-generator/feed)WikiDiscussions main Synced 1mo ago

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

Bootstrap 5.3 generator
=======================

[](#bootstrap-53-generator)

Install
-------

[](#install)

```
composer install krzysztofzylka/bootstra-generator
```

Class
-----

[](#class)

```
\krzysztofzylka\BootstrapGenerator\BootstrapGenerator
```

Methods
-------

[](#methods)

### Alert

[](#alert)

```
use \krzysztofzylka\BootstrapGenerator\BootstrapGenerator;
use \krzysztofzylka\BootstrapGenerator\enum\ThemeColor;

BootstrapGenerator::alert('alert!', ThemeColor::Primary)
    //not required additional methods
    ->header('header') //alert header
    ->headerTag('h4'); //custom header tag
```

### Badge

[](#badge)

```
use \krzysztofzylka\BootstrapGenerator\BootstrapGenerator;
use \krzysztofzylka\BootstrapGenerator\enum\BackgroundColor;

BootstrapGenerator::badge('badge!', BackgroundColor::Primary)
    //not required additional method
    ->roundedPill(); //rounded
```

### Breadcrumb

[](#breadcrumb)

```
use \krzysztofzylka\BootstrapGenerator\BootstrapGenerator;

BootstrapGenerator::breadcrumb()
    ->addBreadcrumb('a', 'true', '#')
    ->...;
```

### Button

[](#button)

```
use \krzysztofzylka\BootstrapGenerator\BootstrapGenerator;
use \krzysztofzylka\BootstrapGenerator\enum\ThemeColor;
use \krzysztofzylka\BootstrapGenerator\enum\Size;

BootstrapGenerator::button('button!', ThemeColor::Primary)
    //not required additional method
    ->tag('div')
    ->size(Size::Sm)
    ->disable()
    ->badge('badge', ThemeColor::Secondary)
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

1227d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b71301619d71d2798d3a84f23de616ac1f1c185ab72e4f03e925cff169b03a0d?d=identicon)[krzysztofzylka](/maintainers/krzysztofzylka)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[dmind/cookieman

Provides a user consent popup. It asks for approval to include tracking objects (cookies, images or any HTML) and includes the objects when consented. It also removes cookies after the consent has been revoked.

39190.5k](/packages/dmind-cookieman)

PHPackages © 2026

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