Yii Framework 34k+
  • News
  • Guide
  • API
  • Wiki
  • Forum
  • Community
    • Places
    • Members
    • Hall of Fame
    • Badges
  • More
    • Learn
    • Books
    • Resources
    • Develop
    • Download Yii
    • Extensions
    • Report an Issue
    • Report a Security Issue
    • Contribute to Yii
    • Donate
    • About
    • Release Cycle
    • License
    • Team
    • Official Logos and Design
Login

Yii HTML 3.9

Nov 29, 2024

Version 3.9 of Yii HTML package is released. There is one improvement:

  • added backed enumeration value support to Html::addCssClass(), Tag::addClass() and Tag::class() methods.

Yii Form 1.3

Oct 30, 2024

Version 1.3 of Yii Form package is released.

  • Added CheckboxList methods:
    • checkboxWrapTag(),
    • checkboxWrapAttributes(),
    • checkboxWrapClass(),

Read more

Yii HTML 3.8

Oct 29, 2024

Version 3.8 of Yii HTML package is released. There are some improvements:

  • added optional wrap parameter to BooleanInputTag::label() method that controls whether to wrap input tag with label tag or place them aside;
  • added CheckboxList::checkboxLabelWrap() and RadioList::radioLabelWrap() methods;
  • added ability to wrap items in checkbox and radio lists by using methods CheckboxList::checkboxWrapTag(), CheckboxList::checkboxWrapAttributes(), CheckboxList::checkboxWrapClass(), CheckboxList::addCheckboxWrapClass(), RadioList::radioWrapTag(), RadioList::radioWrapAttributes(), RadioList::radioWrapClass() and RadioList::addRadioWrapClass();
  • added non-empty-string psalm type of Html::generateId() method result;

Read more

Yii Form 1.2

Oct 9, 2024

Version 1.2 of Yii Form package is released.

In this version added Checkbox::labelPlacement() method and Checkbox::enclosedByLabel() method marked as deprecated.

Yii Form 1.1

Sep 26, 2024

Version 1.1 of Yii Form package is released.

In this version added backed enumeration value support to Select field.

Yii HTML 3.7

Sep 18, 2024

Version 3.7 of Yii HTML package is released. There are some improvements:

  • added methods Script::nonce() and Script::getNonce() for CSP;
  • added backed enumeration value support to Select tag.

Yii Form 1.0

Aug 26, 2024

First release of Yii Form package was done. It provides a set of widgets to help with dynamic server-side generation of HTML forms. The following widgets are available out of the box:

  • input fields: Checkbox, CheckboxList, Date, DateTimeLocal, Email, File, Hidden, Image, Number, Password, RadioList, Range, Select, Telephone, Text, Textarea, Time, Url;
  • buttons: Button, ResetButton, SubmitButton;
  • group widgets: ButtonGroup, Fieldset.
  • other: ErrorSummary.

General usage:

use Yiisoft\Form\PureField\Field;

echo Field::text('firstName', theme: 'horizontal')
  ->label('First Name')
  ->autofocus();
echo Field::text('lastName', theme: 'horizontal')
  ->label('Last Name');
echo Field::select('sex')
  ->label('Sex')
  ->optionsData(['m' => 'Male', 'f' => 'Female'])
  ->prompt('—');
echo Field::number('age')
  ->label('Age')
  ->hint('Please enter your age.');
echo Field::submitButton('Submit')
  ->buttonClass('primary');

Yii HTML 3.6

Aug 23, 2024

Version 3.6 of Yii HTML package is released. There are some improvements and fixes:

  • Throw InvalidArgumentException in Html::renderAttribute() when attribute name is empty or contains forbidden symbols.
  • Add Stringable and array values support to textarea tag.
  • Add backed enumeration value support to CheckboxList and RadioList widgets.
  • Fix output of null value attributes in Html::renderTagAttributes().

Yii HTML 3.5

Jul 11, 2024

Version 3.5 of Yii HTML package is released. There are some improvements:

  • added class for tag hr and method Html::hr();
  • added support for multiple elements in aria-describedby attribute.
Get notified of news as soon as they are available using our RSS Feed.

Years

  • 2026 (50)
  • 2025 (92)
  • 2024 (80)
  • 2023 (90)
  • 2022 (82)
  • 2021 (101)
  • 2020 (64)
  • 2019 (75)
  • 2018 (32)
  • 2017 (35)
  • 2016 (30)
  • 2015 (9)
  • 2014 (6)
  • 2013 (11)
  • 2012 (14)
  • 2011 (10)
  • 2010 (10)
  • 2009 (23)
  • 2008 (5)

Popular Tags

  • yii3 387
  • extensions 234
  • release 109
  • yii2 76
  • debug 30
  • view 28
  • auth client 25
  • html 25
  • bootstrap 21
  • redis 20
  • Yii 1.1
  • Guide
  • API
  • Wiki
  • Yii 2
  • Guide
  • API
  • Wiki
  • Yii3
  • Guide
  • API
  • Cookbook
  • Terms of service
  • License
  • Contact Us
  • Supported by
  • Your donations
  • JetBrains logo
  • © 2008 - 2026 Yii (Website Source Code)