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

Laminas Escaper Laravel Package

laminas/laminas-escaper

Securely escape untrusted data for HTML, HTML attributes, JavaScript, CSS, and URLs to prevent XSS. Laminas Escaper provides robust, context-aware escaping utilities for PHP apps and templates.

View on GitHub
Deep Wiki
Context7
2.18.0

Release Notes for 2.18.0

Feature release (minor)

2.18.0

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 2

renovate

Enhancement

2.17.0

Release Notes for 2.17.0

Feature release (minor)

2.17.0

  • Total issues resolved: 1
  • Total pull requests resolved: 1
  • Total contributors: 1

Enhancement

2.16.0

Release Notes for 2.16.0

Feature release (minor)

2.16.0

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

Dependencies,QA

2.15.0

Release Notes for 2.15.0

Feature release (minor)

2.15.0

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 2

Enhancement,QA

Enhancement

2.14.0

Release Notes for 2.14.0

Feature release (minor)

2.14.0

  • Total issues resolved: 0
  • Total pull requests resolved: 3
  • Total contributors: 3

renovate

Enhancement

Documentation,Enhancement

2.13.0

Release Notes for 2.13.0

Feature release (minor)

2.13.0

  • Total issues resolved: 1
  • Total pull requests resolved: 4
  • Total contributors: 4

Enhancement

Enhancement,Question

renovate

2.12.0

Release Notes for 2.12.0

Feature release (minor)

2.12.0

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

Enhancement

2.11.0

Release Notes for 2.11.0

Feature release (minor)

2.11.0

  • Total issues resolved: 0
  • Total pull requests resolved: 3
  • Total contributors: 2

Enhancement

renovate

2.10.0

Release Notes for 2.10.0

Feature release (minor)

2.10.0

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 2

Enhancement

2.9.0

Release Notes for 2.9.0

Feature release (minor)

2.9.0

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

Enhancement

2.8.0

Release Notes for 2.8.0

Feature release (minor)

In release 2.7.1, multiple users reported crashes due to the introduction of declare(strict_types=1); in our codebase:

These crashes were related to misuse of the library on the caller side, since this library always expected string values as inputs for most its methods.

This release replaces declared input type declarations with native type declarations provided by PHP.

The reason why this was done, is that:

  • since PHP 7.2, and specifically the Parameter Type Widening RFC by @kelunik, it is safe to declare stricter types in parent interfaces/types, whereas subtypes can completely omit the parameter type. This library supports PHP 7.3 and newer, which means that existing subclass implementations of the Escaper that do not declare string parameters in their methods will continue to work as expected
  • the new string type declaration will lead to more shallow stack traces in the case of invalid input, which will further help avoiding misunderstanding of the issue, like what happened in https://github.com/laminas/laminas-escaper/issues/20. Developers should be able to determine more clearly that a non-string was given as input
  • in case of developers still passing invalid input to laminas/laminas-escaper, should they not use declare(strict_types=1) in their code, then there will be an implicit conversion performed by the engine, as specified by PHP 7.0 in the Scalar Type Hints v5 by @ircmaxell

This release therefore:

  • increases strictness in this library
  • increases compatibility with poorly written / reviewed code

2.8.0

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

Enhancement

2.7.1

Release Notes for 2.7.1

2.7.x bugfix release (patch)

2.7.1

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

Enhancement

2.7.0

2.7.0 - 2020-11-17

Added

  • #10 Adds Psalm as QA tool

  • #9 Adds PHP 8.0 support


Release Notes for 2.7.0

next feature release (minor)

2.7.0

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 2

Enhancement,hacktoberfest-accepted

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport