Skip to content

Tags: AppsDevTeam/utils

Tags

v2.15.1

Toggle v2.15.1's commit message
Sanitize and truncate Guzzle error messages

Prevent binary data and excessively long request/response bodies from being included in exception messages to ensure logs remain readable.

v2.15

Toggle v2.15's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #22 from AppsDevTeam/f-add-components-method

add components method

v2.14.4

Toggle v2.14.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update Image.php

v2.14.3

Toggle v2.14.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update Image.php

v2.14.2

Toggle v2.14.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add license field to composer.json

v2.14.1

Toggle v2.14.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #21 from AppsDevTeam/f-fix_warnings

Fix warnings.

v2.14

Toggle v2.14's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #20 from AppsDevTeam/f-disable_format_animated_gif

Disable format animated gif.

v2.13.2

Toggle v2.13.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update Utils.php

v2.13.1

Toggle v2.13.1's commit message
Adds utility function for checking emptiness

Adds a utility function that provides a more reliable way to determine if a variable is considered "empty".

The native `empty()` function treats '0' and 0 as empty, which is often not the desired behavior. The new function `realEmpty()` addresses this by explicitly checking for these cases.

v2.13

Toggle v2.13's commit message
Adds utility function to create DateTimeImmutable

Adds a static method that attempts to create a DateTimeImmutable object from an array containing date and timezone information.

Returns null if the input data is invalid or if an exception occurs during DateTimeImmutable creation.