PHPackages                             maksuco/b4c - 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. [Templating &amp; Views](/categories/templating)
4. /
5. maksuco/b4c

AbandonedArchivedLaravel[Templating &amp; Views](/categories/templating)

maksuco/b4c
===========

Use Laravel Forms with Bootstrap 4 Components

v1.0.5(8y ago)027MITPHPPHP &gt;=5.6.0

Since Sep 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/maksuco/b4c)[ Packagist](https://packagist.org/packages/maksuco/b4c)[ RSS](/packages/maksuco-b4c/feed)WikiDiscussions master Synced 2w ago

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

Generate slugs for routes and files in Laravel
==============================================

[](#generate-slugs-for-routes-and-files-in-laravel)

This package helps you render bootstrap 4 components inside blade.

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

[](#installation)

You can install the package via composer:

```
$ composer require maksuco/b4c
OR
$ composer require maksuco/b4c:dev-master
```

This Package works with autodiscovery in Laravel +5.5, but is compatible with older versions

Usage
-----

[](#usage)

Render text inputs:

```
  {!! \B4C::text($name,$label,$value,$attributes,$extra,$version) !!}
  //formtext('video','Video',$property->video,['placeholder' => 'Video code'],'required','form-group-default')
```

Render Textarea inputs:

```
  {!! \B4C::textarea($name,$label,$value,$attributes,$version) !!}
  //formtextarea('video','Video',$property->video,['css' => 'color-primary'],'')
```

Render file inputs:

```
  {!! \B4C::file($name,$label,$attributes,$extra,$version) !!}
  //formfile('floorplan',__('Floor Plan'),['class' => 'mt-5','accept' => '.jpg,.jpeg,.png,.pdf'],'required','')
```

Render select inputs:

```
  {!! \B4C::select($name,$label,$value,$options,$first,$attributes,$extra,$version) !!}
  //formselect('zone',__('zone'),$property->zone,['N','E','W','S','NE','NW','SE','SW'],'Choose one',['class' => 'h-20'],'','')
```

Render checkbox inputs:

```
  {!! \B4C::check($name,$label,$value,$extra,'disabled') !!}
  //formswitch('show',__('Show'),1)
```

Render switch inputs:

```
  {!! \B4C::switch($name,$label,$value,$extra,'') !!}
  //formswitch('show',__('Show'),$item->show)
```

Render Radio inputs:

```
  {!! \B4C::radio($name,$label,$value,$extra,'') !!}
```

Render text/switch inputs:

```
  {!! \B4C::textswitch($name,$label,$value,$attributes,$switch_name,$switch_value) !!}
  //formtext('video','Video',$property->video,['placeholder' => 'Video code'],'video_on',$property->video_on)
```

Security
--------

[](#security)

If you discover any security related issues, please report it.

Credits
-------

[](#credits)

- [Maksuco.com](http://maksuco.com)
- [ReBilling.co](https://rebilling.co)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~1 days

Total

3

Last Release

3196d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9137263?v=4)[Maksuco](/maintainers/maksuco)[@maksuco](https://github.com/maksuco)

---

Top Contributors

[![nam-co](https://avatars.githubusercontent.com/u/3951529?v=4)](https://github.com/nam-co "nam-co (16 commits)")

---

Tags

slugslaravel-bootstrap-componentsmaksuco

### Embed Badge

![Health badge](/badges/maksuco-b4c/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[illuminate/view

The Illuminate View package.

13046.3M2.1k](/packages/illuminate-view)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

721160.4k12](/packages/tallstackui-tallstackui)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5452.7k](/packages/hasinhayder-tyro-dashboard)

PHPackages © 2026

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