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

Gelf Php Laravel Package

graylog2/gelf-php

PHP library for creating and sending GELF messages to Graylog. Build structured log entries with additional fields, levels, and timestamps, and ship them over supported transports (e.g., UDP/TCP/HTTP) for centralized logging and analysis.

View on GitHub
Deep Wiki
Context7
2.0.2

gelf-php 2.0.2

2.0.1

gelf-php 2.0.1

2.0.0

Stabilize gelf 2.0.0

I have not encountered any issue in regards to the beta version from a few months ago, therefore I am stabilizing 1.0

Additional features

This release also contains addition support for the SSL option verify_peer_name (thanks @inventor96)

2.0.0-beta.1

This release is a port of the existing library for psr/log=3 and php>=8. Support for lower versions is dropped. The library itself is mostly unchanged, with 2 small changes:

  • No support for gelf 1.0 anymore
  • Transports do not implement the PublisherInterface anymore

If you come across bugs, let me know. Otherwise I will tag a stable 2.0 some time soon.

1.7.1
1.7.0

gelf-php 1.7.0

1.6.5

Maintenance release

  • Fix falsy strings in log context (thanks @cseufert)
1.6.4

Maintenance release

  • Fix a a depreaction notice with wrong argument order of implode (thanks @cwuensche)
1.6.3

Maintenance release

  • Fix a bug with UDP chunks exceeding maximum chunksize (thanks @mathielen)
  • Disallow compressed encoder for tcp-transport (it's not supported and broken)
  • Drop HHVM from the build-matrix - We try to stay compatible, but will not test for it in CI as it's too much of a hassle
1.6.2

Maintenance release

  • Fix Message toArray empty validation for zero int values (thanks @matthi4s)
1.6.1

Maintenance release

  • Bumped composer requirements #114, thanks @jhammer
1.6.0

Feature release

Features

  • Compatibility PHP7.1 and 7.2 (@carusogabriel)
  • Compatibility for PHP7.3
  • Support for proxies in HttpTransport
  • Support for SslOptions in TcpTransport (@toubsen)
  • Support for default values for additional fields (@Marlinc)

Fixes and improvals

  • Improve tests (@carusogabriel)
  • Fix PHP notice for CN_match option with PHP > 5.5 (@toubsen)
  • Fix issue with strict-types and empty field filtering (@chrisandchris)
  • Fix misc typos (@evaldaskocys )
  • Replace strlen with binary safe comparison function (@olegpro)
  • More docs for IgnoreErrorsTransportWrapper

Thanks for all your contributions

1.5.5

Maintenance release

  • Fixed a typo in an error-message, thanks @ncraike
  • Fix fwrite error-handling on HHVM when the remote goes away during write
1.5.4

Maintenance release

Better handling for fwrite return values in case of partial or failing writes.

1.5.3

Maintenance release

Well, that was dumb. Removed a var_dump which sneaked into 1.5.2

1.5.2

Maintenance release

  • Remove composer.lock from repository -- it doesn't make sense for a library
  • More entropy for UDP message-id generation to reduce the likeliness of a collision (thanks @paragonie-scott)
  • Throw an exception if mbstring.func_overload overloads strlen (thanks @EgorShevelev, @casskir)
1.5.1

Maintenance release

  • Some small fixes around SSL context handling, thanks @kwisatz for your excellent analysis:
    • Fix SSL deprecation warnings for PHP_VERSION > 5.6 (#70)
    • Initialize default SslOptions when port is 443 in HttpTransport (#72)
  • Fix insufficient fwrite return value checking (#66) -- thanks @cyrip
  • Fix HttpTransport to use late-static-binding in fromUrl()-constructor (#71) -- thanks @chrisnew

Also:

  • Remove a useless test in the UdpStreamClientTest
  • The PHP version set for travis is now up-to-date
1.5.0

(Small) feature release

  • Add an IgnoreErrorTransportWrapper for failure-resistant logging (Thanks @pascalwild)
1.4.2

Maintenance release

  • Fix PHP version constraint to be compatible with Monolog (thanks @Seldaek)
1.4.1

This maintenance release turned out to be bigger than expected in the end. -- Thanks at all contributors!

  • Proper support (nor more notices/warnings) for complex types (arrays and objects) in the log-context in Logger. Thanks @chrisminett @AlexeyKupershtokh
  • Fixed CHUNK_MAX_COUNT to 128 (as per GELF spec) Thanks @AlexeyKupershtokh
  • Allow logging of boolean (false) context values Thanks @hrach
  • Fixed Message::setVersion(..) to allow method chaining Thanks @Gummibeer
  • Allow custom CONNECT_TIMEOUT for tcp-connects in HttpTransport and TCPTransport Thanks @rubao
  • Some code cleanup
1.4.0

Added TCP transport for GELF messages, thanks @narigua

1.3.0

Added AMQP transport - Thanks @zhdanovartur

1.2.3
  • Reestablish support for PHP 5.3.0 - 5.3.8

Thanks @hhatfield

1.2.2

Fixed minor composer schema error (provides vs provide)

1.2.1
  • Require PHP5.3.9+ instead of PHP5.3+

This is considered a bugfix release since we only drop support for some old, buggy and no-longer-maintained PHP versions (5.3.0-5.3.8).

1.2.0
  • SSL support in StreamSocketClient
  • HTTPS support in HttpTransport
  • HTTP Authentication support in HttpTransport
1.1.2

Added php7-dev to supported PHP versions

1.1.1

gelf-php 1.1.1

This is a maintenance release only - no change in functionality

Changes

  • Added severeal missing tests
  • Better definition of composer dev dependency version constraints
  • Introduced a ".gitattributes" file with export-ignore definitions for production-package-building via git export
1.1.0

gelf-php 1.1

Changes

  • A new transport "HttpTransport" to push messages to Graylog2 HTTP-listener (@steffkes)
  • E_WARNING messages from stream_client_create are now silenced (@joker806)
  • Updated composer dependencies (phpunit and phpcs) for development (@steffkes)
  • PSR incompatibilty fixes

Contributions - Thank you very much!

1.0.4
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