aedart/athenaeum-http-messages

Http Message Utilities

Maintainers

👁 aedart

Package info

github.com/aedart/athenaeum-http-messages

Homepage

pkg:composer/aedart/athenaeum-http-messages

Statistics

Installs: 72

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

10.10.0 2026-06-08 07:23 UTC

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause ec7f7d76fe6f62cd52ff8b356e19fa9bda04d96c

  • Alin Eugen Deac <aedart.woop@gmail.com>

httpresponsemessagerequestpsr-7Athenaeum

This package is auto-updated.

Last update: 2026-06-23 06:48:05 UTC


README

This package offers a few PSR-7 Http Message utilities.

Example

Amongst the utilities are request and response serializers, able to serialize a to string or array.

$factory = $this->getHttpSerializerFactory();
$serializer = $factory->make($response);

echo (string) $serializer;

// Example Output:
//
// HTTP/1.1 201 Created
// Content-Type: application/json
// 
// {"id":458712,"name":"Sven Jr.","age":27}

Documentation

Please read the official documentation for additional information.

Repository

The mono repository is located at github.com/aedart/athenaeum

Versioning

This package follows Semantic Versioning 2.0.0

License

BSD-3-Clause, Read the LICENSE file included in this package