PHPackages                             bukashk0zzz/booleantype-bundle - 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. bukashk0zzz/booleantype-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

bukashk0zzz/booleantype-bundle
==============================

A simple Symfony bundle that adds boolean form field type.

v2.1.0(4y ago)139.8kMITPHPPHP &gt;=7.2CI failing

Since Apr 21Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Bukashk0zzz/BooleanTypeBundle)[ Packagist](https://packagist.org/packages/bukashk0zzz/booleantype-bundle)[ Docs](https://github.com/bukashk0zzz/BooleanTypeBundle)[ RSS](/packages/bukashk0zzz-booleantype-bundle/feed)WikiDiscussions master Synced yesterday

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

Symfony BooleanType Bundle
==========================

[](#symfony-booleantype-bundle)

[![Build Status](https://camo.githubusercontent.com/7d77f3e540ceb930a78cc81f8a10d5059c9951c1ced780afa0750452b6b9425f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f6275696c642f672f42756b6173686b307a7a7a2f426f6f6c65616e5479706542756e646c652e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Bukashk0zzz/BooleanTypeBundle)[![Code Coverage](https://camo.githubusercontent.com/b5df28523372f7129ddb2ff97486898e6216889ba7d76b52ea5c5b427a100ec4/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f42756b6173686b307a7a7a2f426f6f6c65616e5479706542756e646c652e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/Bukashk0zzz/BooleanTypeBundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/1ed159a1f4a61450e4ef0c3e5379f1b7870ff739aafc4c3380fe6844c0bbfad6/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f42756b6173686b307a7a7a2f426f6f6c65616e5479706542756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Bukashk0zzz/BooleanTypeBundle/?branch=master)[![License](https://camo.githubusercontent.com/d7800b50113d6dffcf35c1eb4d227f5be75b518f2a4e39974c5b2713ca5d83f7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f42756b6173686b307a7a7a2f626f6f6c65616e747970652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Bukashk0zzz/booleantype-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/3479c03dbe47c236f3ed7c37f8541afb34b5007e26323c856830d3b853480e47/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f42756b6173686b307a7a7a2f626f6f6c65616e747970652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Bukashk0zzz/booleantype-bundle)[![Total Downloads](https://camo.githubusercontent.com/bff3b6f94aca7124fcb62a87fa37930a0239599b4251b99f9c4c7c7983b12d34/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f42756b6173686b307a7a7a2f626f6f6c65616e747970652d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Bukashk0zzz/booleantype-bundle)

About
-----

[](#about)

A simple Symfony bundle that adds boolean form field type.

Installation Symfony Flex
-------------------------

[](#installation-symfony-flex)

```
composer config extra.symfony.allow-contrib true
composer require bukashk0zzz/booleantype-bundle
```

Installation without Symfony Flex
---------------------------------

[](#installation-without-symfony-flex)

```
composer require bukashk0zzz/booleantype-bundle
```

Add the bundle to `app/AppKernel.php`

```
$bundles = array(
	// ... other bundles
	new Bukashk0zzz\BooleanTypeBundle\Bukashk0zzzBooleanTypeBundle(),
);
```

Configuration
-------------

[](#configuration)

Not needed.

Usage
-----

[](#usage)

Inside a FormType:

```
class AccountProfileType extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('nameFirst', TextType::class, ['label' => 'First Name'])
            ->add('nameLast', TextType::class, ['label' => 'Last Name'])
            ->add('active', BooleanType::class, [
                'label' => 'User active?',
                'required' => false,
            ])
        ;
    }
}
```

Copyright / License
-------------------

[](#copyright--license)

See [LICENSE](https://github.com/bukashk0zzz/BooleanTypeBundle/blob/master/LICENSE)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

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 ~664 days

Total

3

Last Release

1614d ago

Major Versions

v1.0.0 → v2.0.02019-12-13

PHP version history (2 changes)v1.0.0PHP &gt;=7.1.0

v2.0.0PHP &gt;=7.2

### Community

Maintainers

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

---

Top Contributors

[![Bukashk0zzz](https://avatars.githubusercontent.com/u/1908342?v=4)](https://github.com/Bukashk0zzz "Bukashk0zzz (6 commits)")

---

Tags

symfonybundletypeformbooleanbool

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/bukashk0zzz-booleantype-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/bukashk0zzz-booleantype-bundle/health.svg)](https://phpackages.com/packages/bukashk0zzz-booleantype-bundle)
```

###  Alternatives

[pugx/autocompleter-bundle

Add an autocomplete type to forms

93861.6k3](/packages/pugx-autocompleter-bundle)[pentatrion/vite-bundle

Vite integration for your Symfony app

2725.3M13](/packages/pentatrion-vite-bundle)[a2lix/auto-form-bundle

Automate form building

873.8M11](/packages/a2lix-auto-form-bundle)[sineflow/clamav

ClamAV PHP Client for Symfony

10168.5k](/packages/sineflow-clamav)[shapecode/hidden-entity-type-bundle

Hidden field for Symfony entities

28428.6k1](/packages/shapecode-hidden-entity-type-bundle)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)

PHPackages © 2026

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