21 Commits
Author SHA1 Message Date
eorozco 596d90d940 feat: soporte para Laravel 12 y Laravel 13
- Requisitos: PHP 8.2 o superior e illuminate 11, 12 o 13.
- selectMonth usa Carbon isoFormat en lugar de strftime, deprecada desde PHP 8.1; acepta los formatos anteriores y respeta el locale de la aplicación.
- Nulos explícitos en los constructores de HtmlBuilder y FormBuilder para PHP 8.4.
- Pruebas para PHPUnit 10.5, 11.5 y 12, con propiedades declaradas y sin avisos de deprecación.
- Readme con instrucciones para instalar desde el registro Composer de git.ilj.mx.
2026-11-26 15:45:50 -06:00
peter279k 74384b08d9 Improve PHPUnit fixtures 2020-12-12 02:51:17 +08:00
ThunderbirdsX3 fda9d3dad8 Can set class attribute in array. (#521)
In case of you want to add class by condition.

```
Form::text('name', null, ['class' => [
    'form-control-,
    $error ? 'is-invalid' : '',
]]);
```
2018-05-30 09:09:07 -07:00
Gabriel Caruso 38f2c6ff0d Update to PHPUnit 7.1 (#511) 2018-04-26 09:09:18 -07:00
Luiz Gustavo Martins 2c5db92f66 Fix some inputs treated like nestedModel when using an accessor (#471)
* 5.6 Prep

* Added $optgroupsAttributes parameter to select method.

* escape HTML entities in `src`-attribute

* Style fixes. Replaced == with ===.
2018-02-05 07:04:02 -07:00
nickurt d621ce1357 remove php_eol statements by html-tags #456 2018-01-03 14:25:43 +01:00
mlantz a4bf883e9b Merge branch '5.2' into 5.3-fix 2017-05-20 15:05:08 -04:00
mlantz 28df2ea235 Removing the double escape 2017-05-20 15:04:52 -04:00
Stefan Printezis c1a105975b Values are encoded consistently by the formbuilder and the htmlbuilder 2016-10-28 12:37:15 +02:00
Cristian Pallarés dc15cf8463 Add test for boolean attributes 2016-08-16 09:34:49 +02:00
James Alday 0fc25932db Update closure syntax for StyleCI check 2016-06-10 14:03:38 -04:00
James Alday 92a4833e11 Add test for htmlBuilder link and mailto escaping 2016-06-10 14:01:04 -04:00
Paul Vidal 6f35784c8b added function tag 2016-01-20 00:56:22 -05:00
Adam Engebretson 0946c7f0a3 Applied fixes from StyleCI 2015-12-01 04:45:27 -05:00
Adam Engebretson d2b7e24d72 Starting Html Components
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com>
2015-12-01 00:35:47 -06:00
alexandre-butynski ef5befed96 Remove dead code in HtmlBuilderTest 2015-09-07 19:18:56 +02:00
Adam Engebretson 017d60144f Applied fixes from StyleCI 2015-09-03 13:18:42 -04:00
Toni Perić 52e297e679 Newline at the end of the file 2015-04-07 22:06:26 +02:00
Toni Perić c3a3a44a37 Added test 2015-04-07 21:43:57 +02:00
Martin Bean 3c2e8c162f Create meta helper 2015-03-09 22:22:57 +00:00
Devin Dombrowski - Locutus 6e459dc808 Proposal: add a dl method to HtmlBuilder
Method generates a description list of items.
2015-02-18 13:57:38 -08:00