Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Html Laravel Package

aura/html

HTML escapers and helpers for any PHP template/view layer, including tag builders and form input helpers. Easy to use via a HelperLocatorFactory; built-in helpers escape values appropriately and you can register custom helpers via the HelperLocator.

View on GitHub
Deep Wiki
Context7
2.6.0
  • ADD: Nested HTML snippet/structure helper via #41 by @jakejohns
  • ADD: Overriding helper factories via #55 by @jakejohns
  • Fix: ctype_digit deprecation error on 8.1 via #62 by @arokettu
  • Update continuous integration to support upto 8.1 via #60, #61 by @harikt
2.5.0
  • ADD: VoidTag helper
  • ADD: Element helper
  • ADD: Support additional attributes on Scripts helper
  • ADD: Support multi check boxes
  • ADD: Support "Internal" Styles and Scripts
  • DOC: Various documentation and phpDoc fixes.
2.4.1

This release modifies the testing structure and updates other support files.

2.4.0

This release fixes a bug in Checkbox/Radio helpers by adding a feature. Previously, the helpers used strict checking of values, which was an unintentional holdover from previous versions. They both now have a strict() method, just like the Select helper, that allows you to turn strict checking off and on. The default is "off."

It also includes a fix to the Escaper encoding lists: they were previously using "iso8859-" and now use "iso-8859-" (note the added dash, per the listing at http://php.net/manual/en/mbstring.supported-encodings.php).

Finally, the links, metas, scripts, styles, and title helpers now allow one-off use by passing values directly to the helper invocation. See the updated documentation for these helpers for more information.

2.3.0

This release has SECURITY FIXES. All users are encouraged to upgrade immediately.

  • SEC: The AbstractChecked helper, which is the parent for Radio and Checkbox, now HTML-escapes the label. Previously, no escaping was applied.
  • SEC: The Textarea helper now HTML-escapes the value. Previously, no escaping was applied.
  • SEC: The Select helper now HTML-escapes each option label. Previously, no escaping was applied.
  • FIX: The attributes for the Label helper now default to array() instead of null.
2.2.0
  • FIX: Return empty string instead of null in AbstractList::__toString
  • DOC: Branch alias 2.1 for the service config has been changed
  • DOC: Fix typo in AttrEscaper::__invoke() doc comment
  • DOC: Fix typo in HelperLocator::has() doc comment
  • ADD: Add Helper/AnchorRaw for anchors w/ unescaped text; adds the helper, the factory to the locator, and the test.
  • DOC: Various fixes to soothe PHPDocumentor.
2.1.1
  • CHG: Disable auto-resolve for container tests and make config explicit.
2.1.0
  • DOC: Updated docblocks and README files.
  • CHG: Renamed services using new rules: "aura/html:escaper" and "aura/html:helper".
  • TST: Add new container integration tests.
2.0.0
  • DOC: Updated docblocks and README files.
  • FIX #18
  • FIX #17: Input helper now extends HelperLocator rather than composing it. This helps support easier DI configuration.
  • CHG: Standardize all input helpers to return self.
  • CHG: Allow Input::__invoke() to return the input locator object
  • CHG: Allow Label::__invoke() to return the label object
  • ADD: Class "Escaper" as a helper.
  • FIX #6: In Select helper, add placeholder() and strict() methods, and no longer uses strict equality by default.
2.0.0-beta1

Extracted from Aura.View package.

6.0.0
  • ADD: Helper\Title::get() to retrieve the HTML-escaped title string for use in HTML contexts.
  • ADD: Helper\Title::getRaw() to retrieve the unescaped title string for use in non-HTML contexts such as og:title meta tags. Reliable only when built with escaped methods (set(), append(), prepend()); unreliable when mixed with raw variants.
  • FIX: Helper\Title::__toString() no longer resets the title state after rendering, allowing get(), getRaw(), and further mutations to work correctly regardless of render order.
  • DOC: Added [@method](https://github.com/method) PHPDoc tags to HelperLocator for IDE autocomplete support (fixes #58).
  • ADD: Per-option HTML attributes for checkbox and radio multi-option inputs. Each entry in options may now be either a plain label string (backward-compatible) or an array of ['label' => '...', 'attribs' => [...]]. Per-option attribs are merged on top of shared attribs so they can override global attributes (closes #48). Thank you @rodsouto and @jakejohns for the valuable input.
  • PHP 8.4+ required
  • Removed Aura.Di integration (config/Common.php)
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky