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 3d 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 43% 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

3150d 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.6k](/packages/craftcms-cms)[robsontenorio/mary

Gorgeous UI components for Livewire powered by daisyUI and Tailwind

1.5k454.7k15](/packages/robsontenorio-mary)[livewire/blaze

A tool for optimizing Blade component performance by folding them into parent templates

688221.3k17](/packages/livewire-blaze)[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.

44643.1k1](/packages/pressbooks-pressbooks)[rareloop/lumberjack-core

A powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code

42155.0k19](/packages/rareloop-lumberjack-core)[konekt/html

HTML and Form Builders for the Laravel Framework

24403.2k5](/packages/konekt-html)

PHPackages © 2026

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