PHPackages                             flsouto/htradios - 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. flsouto/htradios

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

flsouto/htradios
================

Generates radio buttons for choosing a single option.

1.0.0(9y ago)017PHP

Since Mar 11Pushed 9y agoCompare

[ Source](https://github.com/flsouto/htradios)[ Packagist](https://packagist.org/packages/flsouto/htradios)[ RSS](/packages/flsouto-htradios/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

HtRadios
========

[](#htradios)

This library can be used to generate radio buttons in an easy way. I recommend you take a look at the documentation of its parent classes in order to grasp all the inherited functionality:

- [HtChoice](https://github.com/flsouto/htchoice)
- [HtWidget](https://github.com/flsouto/htwidget)
- [HtField](https://github.com/flsouto/htfield)

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

[](#installation)

Via composer:

```
composer require flsouto/htradios

```

Usage
-----

[](#usage)

In the following example we generate a choice list with three options.

```
